Fetch external calendars automatically [OBSOLETE]

Hints for improving your installation and tuning it

Fetch external calendars automatically [OBSOLETE]

Postby mso » 09.11.2011 20:02

Since phlyMail 4.4 this method is obsolete. Please remove it from your cron tab

Since phlyMail 4.2.50 one can include external calendars as folders / groups. To automatically update these calendars according to the defined interval you need to add another CronJob.

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.
Matthias Sommerfeld

phlyMail Developer
http://phlymail.com
User avatar
mso
Site Admin
Site Admin
 
Posts: 1800
Joined: 01.11.2001 01:00
Location: Berlin

Return to Tipps & Tricks

Who is online

Registered users: No registered users

cron