"scheduler" (cron) module is committed

[email protected] (mikespub)
Newsgroups gmane.comp.cms.xaraya.announce
Organization not much
Message-ID <[email protected]>
[sorry for the double post]

This module allows you to schedule Xaraya jobs at certain times of the 
day/week/month (cron)

Those jobs could be for instance :

    * sending a daily digest mail
    * expiring temporary user passwords
    * escalating a workflow process
    * doing a backup of the database
    * refreshing cache files
    * ...

The scheduler module relies on other modules to actually execute whatever jobs 

are scheduled, so first you need to find out which module functions can be 
scheduled. Search for scheduler API functions

Then you need some kind of trigger to wake up the scheduler - this can be done 

e.g. by requesting a specific webpage automatically from your own system via a 

Unix cron entry or Windows AT command, or via a web-based scheduler service 
like http://webcron.org/, or (if you really have no other choice) by relying 
on web hits from your visitors if your site is relatively busy.

The rest will be handled by the scheduler module :-)

At the moment, only the workflow module provides a scheduler API function,
to run any time-based activities in your workflow processes, but other
modules (articles, roles, sitetools, ...) should follow with their own 
predefined scheduled operations later on. Don't hesitate to contribute your
own ideas and/or code for this :)

And you could basically schedule any admin or user API function here as well.

Enjoy,

Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.