Adding action to scheduler?

Discuss and get help with plugins. Share your ideas for future SiT! features.

Adding action to scheduler?

Postby skyrack_technology » Tue Jun 25, 2013 1:34 pm

Hi folks -
Anyone got advice, any guide somewhere, regarding generally what needs doing and where to add an action to the scheduler, and ideally then have it managed from the Scheduler GUI.

I want to add a Scheduled job to check automatically, once per day, on the state of expired contracts, so that we can then take some actions to de-provision service in other systems.

The expired contracts query is trivial, and I can poke that into an email.

I guess I could just insert some static code in the top of auto.php, and it will run with the cron job ? ... but then how do I get the details into the DB, or manage it through the GUI?

Cheers
Gavin
Happy Sitter!
skyrack_technology
SiT! Regular
SiT! Regular
 
Posts: 39
Joined: Tue Nov 16, 2010 4:57 pm

Return to Plugins & Extending SiT!

Who is online

Users browsing this forum: No registered users and 1 guest

cron