I have a job, which i want to run at an interval on weekdays, but i
can't figure out if its possible. The cron syntax would be something
like this
* */1 * * mon-fri
Further more i also need to perform a job, with an interval, in a
timespan, on certain weekdays e.g.
*/5 7-17 * * tue-sat
Is it possible to define cronjobs like this with whenever? If not, are
there any plans for this in the future?
Best regards
Kristian
every :weekday, :at => ........
To run on certain days you can do:
every [:tuesday, :wednesday, :thursday, :friday, :saturday], :at
=> ........
There may be a more elegant way of doing this but it should work.
Regards
Roger
On Dec 28 2009, 3:43 pm, Kristian Andersen <kanderse...@gmail.com>
wrote:
Thanks for the reply, but it doesn't really solve my problem.
The problem is that i have multiple different terms that i want to
"use".
e.g. every 5 minutes on every tuesday.
Best regards
Kristian
Javan
> --
> You received this message because you are subscribed to the Google
> Groups "Whenever Gem" group and because you're awesome.
> To post to this group, send email to whenev...@googlegroups.com
> To unsubscribe from this group, send email to
> whenever-gem...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/whenever-gem?hl=en