Cron Wizard

This form helps you set up cron, that runs scripts at periodic intervals on the webserver of your Foswiki site. Cron is driven by a crontab, a configuration file that specifies shell commands to run periodically on a given schedule.

Cron is a program that runs on Unix, Linux and Mac OS X, not on Windows. If your website runs on a Windows server, you cannot use this wizard (unless you are using cygwin).

Crontab entry help form

With this form you can easily edit cron commands in your crontab file

Path to your Foswiki bin directory

For example: /usr/local/foswiki/bin
A bin directory must be specified

Perl parameter

For example: -wT (which switches on perl warnings and taint checks)


For example: mailnotify (which is used to send out change notifications)
A script name must be specified

Script parameters

For example: Sandbox WebHome

Run script at interval

Log file

For example: /usr/local/foswiki/logs/mailnotify.log (capture script output to this file, will be overwritten each time the script runs)


Write the output of this form in your system's crontab.

Set the crontab editor to nano (if you don't like vi), and set it to editing mode:
export EDITOR=nano
crontab -e

Copy-paste this line and save the file:

Cron runs reguarly and checks if the crontab has been updated.

More info

Topic revision: r3 - 13 Oct 2009, ArthurClemens - This page was cached on 14 Nov 2018 - 12:32.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy