the idea is to make a function that does repeat itself rather than need an end...
On Thu, Oct 31, 2013 at 12:36 PM, Kombajn zbożowy <[email protected]>wrote: > Hello, > > Is it possible to schedule a process to run daily *at chosen hour/min/sec* > with god? Just like cron works? > > I only found how to schedule the process to repeat with interval using > something like: > > w.start_if do |start| > start.condition(:process_running) do |c| > c.interval = 1.day > c.running = false > end > end > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "god.rb" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/god-rb. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "god.rb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/god-rb. For more options, visit https://groups.google.com/groups/opt_out.
