Forum OpenACS Development: Re: New Specification for Cron Package

Collapse
Posted by Tom Jackson on

Andrew, one change is the addition of logging. I only have a simple table for now, but possibly a return status could be added. Then you would need to query that table somehow to check what happened. Maybe another alternative it to provide a post script callback. Actually the cron_notification_types table will probably work as a callback mechanism. In addition, the archive_type and archive_data fields of the cron_scripts table might be useful to consider. Maybe one archive type would be kick off another script? Bottom line: I will probably have two or three of these types of things built in, so adding another might not be that hard.

Also, note that the script type is going to be expandable. Essentially anything you can run on your box, you can schedule (umm, or will be able).

If you come across any additional ideas on how other systems work, which you like, please pass them along.