>
>> Just wanted to point to a possible alternative way: I usually save
>> jobs like this into the database. The cron job checks every X minutes
>> for a jobs and runs it if needed, changing status to "X% completed".
>> It's pretty easy than to display a progress bar or other status
>> notifications in the application.
>
> How would you run a job every X minutes? Are you using an external
> scheduler (unix-cron)?

Yes, unix cron. Example entry in the cron:

0,15,30,45 * * * * /www/sites/mysite/scripts/send_newsletter.py

it runs the script every 15 minutes.

Ksenia.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to