Return to Snippet

Revision: 14279
at May 27, 2009 16:17 by zachharkey


Initial Code
# To edit a crontab through the command line, type the following (may need root priv):

crontab -e

# Add ONE of the following lines:

45 * * * *  /usr/bin/lynx -source http://example.com/cron.php
45 * * * * /usr/bin/wget -O - -q -t 1 http://www.example.com/cron.php
45 * * * * curl --silent --compressed http://example.com/cron.php

# This would have a lynx, wget, or curl visit your cron page 45 minutes after every hour.

Initial URL
http://drupal.org/cron

Initial Description

                                

Initial Title
Set drupal cronjob via command line

Initial Tags
drupal

Initial Language
Bash