| General Databases (73) Linux (41) Apache (6) Network (11) shell (12) Outside the Cube (5088) Programming (679) Web publishing (65) Windows (431) |
How do I set up a cron job?
(1 votes). Leave comments and/ or rate it.
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:
| |||||||||||||||||||||||||||||