Re: Scheduling Jobs - Last day of the month - HOWTO?
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Wed, 30 Aug 2006 15:58:09 -0400
"Michael B. Johnson" wrote:
I would like to schedule a job on the last day of each month.
When I looked through the man pages for Cron, there did not appear
to be any obvious mechanism for specifying the *last day* of the
month.
Unfortunately, my environment is Cygwin, and the job to be
launched (executable) was written in Visual Basic 6. I have access
to "bash" via cygwin, as well as perl and awk.
I realize this may not be the ideal group in which to post this;
if you have no other suggestions that appear appropriate, then
please suggest a group where the question might /be/ more
appropriate. However, I would request indepth consideration be
given to my request before being sloughed off, as I don't have
access to any newsgroups specific to Cygwin, that are in English.
I see no problem with this group; Cygwin is intended to create a
Unix/Linux like environment, and does a pretty good job (although
it is slow, compared with such packages as DJGPP),
As such, you have access to many languages, including C, but not VB
under Cygwin. I suggest you stick with real languages, which VB is
not.
At any rate, it is easy in most languages to ascertain the present
month and day. Then all you need to do is calculate the last day
of the month from a small table, and allow for leap year in
February. You can probably even do this with a bash script.
--
Chuck F (cbfalconer@xxxxxxxxx) (cbfalconer@xxxxxxxxxxxxx)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE maineline address!
.
- Follow-Ups:
- Re: Scheduling Jobs - Last day of the month - HOWTO?
- From: Michael B . Johnson
- Re: Scheduling Jobs - Last day of the month - HOWTO?
- From: Michael Heiming
- Re: Scheduling Jobs - Last day of the month - HOWTO?
- References:
- Scheduling Jobs - Last day of the month - HOWTO?
- From: Michael B . Johnson
- Scheduling Jobs - Last day of the month - HOWTO?
- Prev by Date: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Next by Date: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Previous by thread: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Next by thread: Re: Scheduling Jobs - Last day of the month - HOWTO?
- Index(es):
Relevant Pages
|