Mark:

For simpler tasks I write direct actions then call that DA from curl. Then I 
set up a cron job to call a simple shell script that runs curl (or other). For 
security purposes, I check the requesting host in the DA. So, if the request 
doesn't come from "localhost" or "127.0.0.1" it doesn't run.

This solution obviously doesn't work well if you want to be able to set the 
schedule within the app.

Tim Worman
UCLA GSE&IS


On Jan 6, 2010, at 4:22 PM, Mark Woollard wrote:

> What's the recommended way to run a periodic task from within a WO 
> application? In this case its infrequently (hourly) and independent of any 
> web requests. 
> 
> Thanks
> Mark
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to