Summary [ Scheduling job in cron for 1st sunday every month ]



My original question in forwarded mail.

The best answer was from John Julian who provided the 1 liner syntax to be
put directly in crontab file.

"0 1 1-7 * * [ `date +\%a` = Sun ] && /script/to/run"

Many of you have responded with modifying the script, which was also
correct but still need some more work.

Lastly, some of you responded with modifying the cron such that change the
date field to 1-7 and day field
to be 6. But, this won't work as needed because these fields work as "OR"
condition and not AND as many
of you might have thought.

Thanks....Suhas Bhide

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.

----- Forwarded by Suhas BHIDE/CTLSG/CTL/Creative on 12/07/2005 01:17 PM
-----

Suhas
BHIDE/CTLSG/CTL/C
reative To
sunmanagers@xxxxxxxxxxxxxxx
12/06/2005 04:14 cc
PM
Subject
Scheduling job in cron for 1st
sunday every month









Hi All....

Can anyone help me to provide info on how to schedule a job in cron which
should run on 1st sunday of every month ?

Thanks....Suhas Bhide

Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.

ForwardSourceID:NT00072A0E
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • RE: from python1.5.2 to pytghon2.2.2
    ... It is intended solely for the addressee. ... If you are not the intended recipient, any disclosure, ... copying, distribution, or any action taken or omitted to be taken in ...
    (comp.lang.python)
  • manual for a Hitachi Hi8 ?
    ... dissemination, disclosure, copying or use of the contents is strictly ... It is the sole responsibility of the recipient to scan all ...
    (rec.video)
  • Re: LOGOFF.DATA.VESOFTs where is the log file.
    ... Harpreet Singh Chana ... recipient, any disclosure, copying or distribution of the message, or ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: LOGOFF.DATA.VESOFTs where is the log file.
    ... To join/leave the list, search archives, change list settings, * ... This transmission may contain information that is privileged, ... confidential, legally privileged, and/or exempt from disclosure ... If you are not the intended recipient, ...
    (comp.sys.hp.mpe)
  • Re: Hi!
    ... thinking about a few of the clubs on the strip. ... addressee and may also be privileged or exempt from disclosure under ... If you are not the addressee, ... its attachments. ...
    (alt.vacation.las-vegas)