|
Now's the time for post installation configuration, well nothing
much actually this is the easiest of all, but before you go
ahead you must do everything given in installation
section. If you are possitive that you have done everything
then lets proceed for the final go...
You need to just one last thing to make your
systen up and ready. You have to setup a cron job. A cron
job is a command that runs a command for you at a specific
time set. In Albinator's case you need to send your ecards,
reminders, delete old temp files, etc, everyday. To this be
achieved you have to setup a simple cron job, that runs a
file named eday.php (in your archive) everyday, here is how
you do it.
To setup a cron job, i suggest if you don't
have experience with it, ask your system admin to do this
for you (no big deal 1 sec thing for him, literally one second
work).
Ask him to do this...
"Setup a cron job for this command for me"
0 0 * * * php /path_to_ur_albinator_directory/eday.php
Remeber to replace the path_to_ur_albinator_directory
by your path to the albinator's directory you made. The file
eday.php is the one which does the things every day (eday
= everyday :)
OR
if you think you can manage a cron job your
self you can do it by the following method (remember you need
to have access to setup cron job, ask your admin)
To set it up yourself just follow the steps..
- Login to telnet/ssh of your server.
- Type the following command
crontab -e
This will open a text editor vi, a blank window
for the "crontab entries" to be entered. Each line represents
a seperate crontab entry (hereafter referred to as "cron
jobs").
- Just enter the following line in a new blank line
0 0 * * * php /path_to_ur_albinator_directory/eday.php
Remember to replace the path of your albinator directory
instead of path_to_ur_albinator_directory. The path
needs to be an absolute one, e.g. /home/{username}/product/
If at any time you wish for command in the crontab file to
not run anymore, just delete (or comment out) the line containing
the command. (To add comments place # before any text.).
Tutorials are given about cron jobs on the following pages:
http://weather.ou.edu/~billston/crontab/
|