/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# 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.