Carl Pelletier
2009-Jan-14 13:57 UTC
[Backgroundrb-devel] add scheduled task to persistent table...
Hi everyone, little question for you guys: I a setup a scheduled task to run like this in my backgroundrb.yml: :schedules: :test_worker: :sync_ezdeal: :trigger_args: 0 15 5 * * * * This is working fine, but what I would like is that when backgroundrb run the task, ha add it to the persistent queue. this way, i will have nothing to do to follow all task run in last days/weeks. I building a admin interface on top of all the tasks that running on my server so users can start,stop a faild task or just rerun it if something go wrong. The user can restart this task in every moment he want. Can you help with this? I google it and found nothing. Thanks! P.S. sorry for sending this message twice. I used the wrong email from. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090114/0c238d44/attachment-0001.html>
hemant
2009-Jan-14 17:11 UTC
[Backgroundrb-devel] add scheduled task to persistent table...
On Wed, Jan 14, 2009 at 7:27 PM, Carl Pelletier <carl at 2be.ca> wrote:> Hi everyone, little question for you guys: > > I a setup a scheduled task to run like this in my backgroundrb.yml: > > :schedules: > :test_worker: > :sync_ezdeal: > :trigger_args: 0 15 5 * * * * > > This is working fine, but what I would like is that when backgroundrb run > the task, ha add it to the persistent queue. this way, i will have nothing > to do to follow all task run in last days/weeks. I building a admin > interface on top of all the tasks that running on my server so users can > start,stop a faild task or just rerun it if something go wrong. > > The user can restart this task in every moment he want. > > Can you help with this? > > I google it and found nothing.Out of box, no. However, its relatively easy to do, so i am going to implement this (patches welcome!)
Carl Pelletier
2009-Jan-15 11:13 UTC
[Backgroundrb-devel] add scheduled task to persistent table...
I will please to help and patch what needed. Can you give me some way to go? Thanks Hemant and continu your good job. Carl Pelletier ruby and rails dev at Cossette.com agency On 14-Jan-09, at 12:11, hemant wrote:> On Wed, Jan 14, 2009 at 7:27 PM, Carl Pelletier <carl at 2be.ca> wrote: >> Hi everyone, little question for you guys: >> >> I a setup a scheduled task to run like this in my backgroundrb.yml: >> >> :schedules: >> :test_worker: >> :sync_ezdeal: >> :trigger_args: 0 15 5 * * * * >> >> This is working fine, but what I would like is that when >> backgroundrb run >> the task, ha add it to the persistent queue. this way, i will have >> nothing >> to do to follow all task run in last days/weeks. I building a admin >> interface on top of all the tasks that running on my server so >> users can >> start,stop a faild task or just rerun it if something go wrong. >> >> The user can restart this task in every moment he want. >> >> Can you help with this? >> >> I google it and found nothing. > > Out of box, no. However, its relatively easy to do, so i am going to > implement this (patches welcome!) > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20090115/7a798c39/attachment.html>
Carl Pelletier
2009-Jan-15 11:15 UTC
[Backgroundrb-devel] add scheduled task to persistent table...
I will please to help and patch what needed. Can you give me some way to go? Thanks Hemant and continu your good job. Carl Pelletier ruby and rails dev at Cossette.com agency On 14-Jan-09, at 12:11, hemant wrote:> On Wed, Jan 14, 2009 at 7:27 PM, Carl Pelletier <carl at 2be.ca> wrote: >> Hi everyone, little question for you guys: >> >> I a setup a scheduled task to run like this in my backgroundrb.yml: >> >> :schedules: >> :test_worker: >> :sync_ezdeal: >> :trigger_args: 0 15 5 * * * * >> >> This is working fine, but what I would like is that when >> backgroundrb run >> the task, ha add it to the persistent queue. this way, i will have >> nothing >> to do to follow all task run in last days/weeks. I building a admin >> interface on top of all the tasks that running on my server so >> users can >> start,stop a faild task or just rerun it if something go wrong. >> >> The user can restart this task in every moment he want. >> >> Can you help with this? >> >> I google it and found nothing. > > Out of box, no. However, its relatively easy to do, so i am going to > implement this (patches welcome!) > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel