Maian Events v1.2 Documentation

- HOME -   - INSTALLATION -   - CRON JOB -   - UPGRADE -   - F.A.Q -   - SCRIPT INFO -

The crontab command, found in Unix and Unix-like operating systems, is used to schedule commands to be executed periodically.

It reads a series of commands from standard input and collects them into a file known also known as a "crontab" which is later read and whose instructions are carried out.

These tasks are known as 'Cron Jobs'.

There is 1 task in the script that would benefit from a Cron Job:

- Automatically delete events after the end date has passed.
1 => The following file needs to execute each day on your server:

/cron/delete_events.php

On some servers, the following command may work:

php -q /home/server_path/public_html/events/cron/delete_events.php

2 => You will also need to set up an e-mail to receive the cron output. This will be simply:

0 events deleted!
2 events deleted!

etc etc
Powered by Maian Events v1.2
© 2005- Maian Script World. All Rights Reserved