Cron schedule : one day per month ?

16 views
Skip to first unread message

Sylvain

unread,
Apr 30, 2009, 11:36:37 AM4/30/09
to Google App Engine
Hi,

I need to create a job that runs each 18th of month (i.e : 18th
january, 18th february, 18th march,...)
Is there a simple "schedule syntax" to do that ?

Currently, i can do something like that :
schedule: every
monday,tuesday,wednesday,thursday,friday,saturday,sunday of month
09:00
and test each day if we are the 18th

But is there a "schedule" syntax to do that directly ?

Thank you

Regards.

风笑雪

unread,
Apr 30, 2009, 2:20:38 PM4/30/09
to google-a...@googlegroups.com
You can let your cron job run every day.

And in your job, you should check the date. If today is not 18th day of month, then exit without doing anything.

2009/4/30 Sylvain <sylvain...@gmail.com>

风笑雪

unread,
Apr 30, 2009, 2:32:38 PM4/30/09
to google-a...@googlegroups.com
And if you want it runs every day, you do this:

schedule: every 24 hours

2009/5/1 风笑雪 <kea...@gmail.com>

Sylvain

unread,
Apr 30, 2009, 2:44:35 PM4/30/09
to Google App Engine
Thank you for your answer. I will use "every 24 hours".

I think I will fill a request for that.

Regards.

On 30 avr, 20:32, 风笑雪 <kea...@gmail.com> wrote:
> And if you want it runs every day, you do this:
> schedule: every 24 hours
>
> 2009/5/1 风笑雪 <kea...@gmail.com>
>
> > You can let your cron job run every day.
> > And in your job, you should check the date. If today is not 18th day of
> > month, then exit without doing anything.
>
> > 2009/4/30 Sylvain <sylvain.viv...@gmail.com>

Anthony Baxter

unread,
May 10, 2009, 11:33:43 AM5/10/09
to Google App Engine
I plan to add the ability to add day of month. Stay tuned :-)

On May 1, 4:44 am, Sylvain <sylvain.viv...@gmail.com> wrote:
> Thank you for your answer. I will use "every 24 hours".
>
> I think I will fill a request for that.
>
> Regards.
>
> On 30 avr, 20:32, 风笑雪 <kea...@gmail.com> wrote:
>
> > And if you want it runs every day, you do this:
> > schedule: every 24 hours
>
> > 2009/5/1 风笑雪 <kea...@gmail.com>
>
> > > You can let yourcronjob run every day.
Message has been deleted

Al Murauski

unread,
Aug 1, 2011, 3:31:30 AM8/1/11
to google-a...@googlegroups.com
20 of month 09:00 worked for me
Reply all
Reply to author
Forward
0 new messages