How do I set up a cronjob to ping the /cron page automatically?

Article ID: 000029
In Linux, you can use various command-line tools to ping a webpage from your crontab.
  • lynx --source "http://localhost/cerb4/cron"
  • wget -O - --quiet "http://localhost/cerb4/cron"

In Windows:

NOTE: if you are not using the mod_rewrite plugin for friendly URLs, then the above examples all change "cerb4/cron" to "cerb4/index.php/cron".


Keywords: cron, scheduled tasks, job
Filed under: