phpDocumentor sf-active
cron
[ class tree: sf-active ] [ index: sf-active ] [ all elements ]

Procedural File: sfcrons.php

Source Location: /sfcrons.php

Page Details

SF-Active Master Cron Script

Calls cron scripts in sf-active local site subdirectories The intent is to update rss feeds, feature photo, calendar, etc and other semi-dynamic content that can't be produced on demand or change

Inspired by Dadaimc cronmaster.php script, although it has the following improvements: 1) Runs only once per server instead of each site requiring a cron entry 2) Does not descend directories recursively, potentially infinitely 3) Improved security

this script should be added in to the apache user's crontab 4 times: once each for monthly, weekly, daily and hourly cron jobs The appropriate time unit is given as a command line argument

Directories should be set up to match the following directory: SITE_DIR/local/cronjobs/cron.daily/cronscript.php

Includes
include_once ('/www/sf-active/shared/sfcrons.cfg') [line 27]

SF-Active Master Cron Script

Calls cron scripts in sf-active local site subdirectories The intent is to update rss feeds, feature photo, calendar, etc and other semi-dynamic content that can't be produced on demand or change

Inspired by Dadaimc cronmaster.php script, although it has the following improvements: 1) Runs only once per server instead of each site requiring a cron entry 2) Does not descend directories recursively, potentially infinitely 3) Improved security

this script should be added in to the apache user's crontab 4 times: once each for monthly, weekly, daily and hourly cron jobs The appropriate time unit is given as a command line argument

Directories should be set up to match the following directory: SITE_DIR/local/cronjobs/cron.daily/cronscript.php

[ Top ]



Documentation generated on Tue, 24 Jun 2008 01:03:56 -0700 by phpDocumentor 1.3.0RC3