Thibault Godouet
2011-03-12 12:36:54 UTC
Hi Carsten,
Apologies for the late answer...
There is no specific support for what you would like to do, however you
can achieve your goal with multiple lines.
You could perhaps use something as:
0 1 25-31 1,3,5,7,8,10,12 5 /bin/true
0 1 22-28 2 5 /bin/true
0 1 24-30 4,6,9,11 5 /bin/true
You should be able to adapt that for say the first friday of the month
quite easily, and similar variants as well.
I will concede a single line would be nicer, but at least you have a
working solution there!
Regards,
Thibault.
Apologies for the late answer...
There is no specific support for what you would like to do, however you
can achieve your goal with multiple lines.
You could perhaps use something as:
0 1 25-31 1,3,5,7,8,10,12 5 /bin/true
0 1 22-28 2 5 /bin/true
0 1 24-30 4,6,9,11 5 /bin/true
You should be able to adapt that for say the first friday of the month
quite easily, and similar variants as well.
I will concede a single line would be nicer, but at least you have a
working solution there!
Regards,
Thibault.
Hi,
I really ask myself: did I overlook something in the documentation (of
the variouls cron implementations)
or is it not possible to run something for example on every last friday
of the month
(could also be the first friday, month could be year or other intervall
of course).?
Why does nobody have this feature implemented or did I not understand
the documentation correctly?
If not, it would be a nice feature suggestion for a future release.
Regards
Carsten
I really ask myself: did I overlook something in the documentation (of
the variouls cron implementations)
or is it not possible to run something for example on every last friday
of the month
(could also be the first friday, month could be year or other intervall
of course).?
Why does nobody have this feature implemented or did I not understand
the documentation correctly?
If not, it would be a nice feature suggestion for a future release.
Regards
Carsten