The Job Manager admin control panel can be used to schedule or run ad hoc tasks like taking backups, running consistency checks, generating sitemaps, importing messages from a mailing list, USENET groups or XML Feeds. It can also be used to view output log files.
This control panel was introduced with FUDforum 3.0.0. The scheduling capability was added in FUDforum 3.0.2.
Contents |
For scheduling to work you need to configure your system's job scheduler (cron) to run cron.php repeatedly (say, for example every 1 minute). After that, you can schedule tasks from this control panel.
Cron.php is located in the forum's script/ directory. It is preferred to call cron.php via URL, typically index.php?t=cron (as it will run with the web server's permissions). You can also use a remote cron service like Easycron.com, webcron.org, CronLess or WebBasedCron.
Typical crontab entry to run the forum's cron.php scrip every minute on Linux and Unix servers:
* * * * * /usr/bin/wget http://your.site.com/forum/index.php?t=cron >/tmp/cron.out 2>&1
Full path to the command line PHP executable on your system. This command will be used to run periodic and ad hoc tasks.
Linux/Unix users can check where the PHP CLI is located on their systems with:
$ which php /usr/bin/php
WARNING: If you run your web server in a chroot jail, the forum will not be able to see the PHP executable, even if you specify its correct location.
Select the task you want to schedule from the list of available values.
Note: If you add mailing list, newsgroup or XML Aggregation rules, they will appear in the drop down as jobs.
Minute(s) when the job should run. Multiple values should be comma separated.
For example:
Hour(s) when the job should run.
Day of the month when the job should run.
Month(s) when the job should run.
Day(s) of the week the job should run.
Job status. Either enabled or disabled.
Disable jobs to prevent cron.php from running them. You can still, however, run them manually. Handy for ad-hoc tasks.
List of scheduled jobs with controls to Edit, Delete, Run Now or View the job's output log. The Run Now button will only be available if the PHP CLI Executable (see above) is set.
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: Cannot return last error, no db connection)