Re: Cron, > 1 month but < 2 months
- From: "Christofer C. Bell" <christofer.c.bell@xxxxxxxxx>
- Date: Sun, 11 Mar 2012 01:42:25 -0600
On Fri, Mar 9, 2012 at 12:35 PM, Camaleón <noelamac@xxxxxxxxx> wrote:
On Fri, 09 Mar 2012 05:09:23 +0000, T o n g wrote:
Is there any easy way to schedule a job for a duration that is greater
than one month but shorter than 2 months? Any duration will do, as long
as it is easy to schedule.
Mmm... I wonder if using steps values (*/*) in crontab could be possible
set a period of 45 days, that is, a task to be run every month and every
15 days :-?
According to this page[1], the following works for that:
* * */45 * * your_scheduled_task
I've not tried it myself.
[1] http://stackoverflow.com/questions/8769689/set-cron-job-for-every-45-day-to-execute-my-php-script-using-cron
--
Chris
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/CAOEVnYtw2HNatFsSF0uX5Xd8VV9t=8gfus0uC7y9+ArKtGxk+g@xxxxxxxxxxxxxx
- Follow-Ups:
- Re: Cron, > 1 month but < 2 months
- From: Camaleón
- Re: Cron, > 1 month but < 2 months
- References:
- Cron, > 1 month but < 2 months
- From: T o n g
- Re: Cron, > 1 month but < 2 months
- From: Camaleón
- Cron, > 1 month but < 2 months
- Prev by Date: Re: Debian 6.0.4 i386 /usr/bin/time command line arguments broken?
- Next by Date: latest chrome won't play videos full screen
- Previous by thread: Re: Cron, > 1 month but < 2 months
- Next by thread: Re: Cron, > 1 month but < 2 months
- Index(es):
Relevant Pages
|