We suggest the following entry:
- Code: Select all
*/5 * * * * cd /path_to_phlymail/backend && php -f calendar.remote.php
That means, that external calendars are checked for scheduled updates every 5 minutes
You might need to adapt the path to either phlyMail or the PHP binary, which often is located under /usr/bin/php. Check your machine or hosting provider's manual.
The above example suggests an invocation of the script every five minutes. It will only do something when it finds one or more due calendar(s), whose last update is past the defined update interval. So it should do no harm to run the script every minute.