Cron executes commands at specified intervals. These commands are called "cron jobs." Cron is available on Unix, Linux and Mac servers. Windows servers use a Scheduled Task to execute commands.
The cron command
To edit a crontab through the command line, type:
crontab -e
In the following example, the crontab command shown below will activate the cron tasks automatically on the hour:
0 * * * * wget -O - -q -t 1 http://www.indersingh.com/cron.php
# +---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
Recent comments
1 year 16 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago
2 years 16 weeks ago
2 years 16 weeks ago
2 years 16 weeks ago
2 years 31 weeks ago
2 years 33 weeks ago
2 years 34 weeks ago
2 years 39 weeks ago