Posted Mon, 09/04/2006 - 10:48am by str
- Create a text file
vi crons.txt
- Write your cron job on the first line, it should read something like this:
For Drupal:
0 * * * * lynx http://www.yourdomain.com/cron.php
or
For Xaraya:
0 * * * * lynx http://www.yourdomain.com/?module=scheduler
Select one, as what you need; and line break is only at the end of the cron job.
- Type in:
crontab crons.txt
- Optionally, you can verify if all went well:
crontab -l
Recent comments
1 min 39 sec ago
4 min 1 sec ago
25 min 57 sec ago
2 days 14 hours ago
1 week 6 days ago
5 weeks 6 days ago
6 weeks 2 days ago
6 weeks 2 days ago
9 weeks 4 days ago
10 weeks 3 days ago