| General Databases (71) Linux (42) Apache (10) Network (11) shell (12) Outside the Cube (2086) Programming (730) Web publishing (118) Windows (355) |
How do I set up a cron job?
Question: How do I set up a cron job? (compare to the Windows scheduler)Answer: You can set up cron jobs with the "crontab" command from the shell.
If your web host does not allow you to use the crontab command and / or you do not want to (or cannot) edit the crontab file (which is usually /etc/crontab, then you might find that there are subdirectories etc/cron.daily etc/cron.hourly etc/cron.monthly etc/cron.weekly where you can add your job as a shell script in the appropriate directory. (This is the case if your host uses the ensim environment.) This still requires that you have write privilege in these directories. Comments:
|