On Wed, Apr 14, 2004 at 01:35:13PM -0400, Rick Pasotto wrote:
> if [ $(date -d tomorrow '+%m') -ne $(date '+%m') ]
> then
> echo 'today is the last day of the month'
> fi
[ $(date -d tomorrow '+%d') -eq 1 ] && echo 'last of the month'
This can also be done directly in your crontab:
[ $(dat
* s. keeling <[EMAIL PROTECTED]> [2004-04-14 09:58:38 -0600]:
> Another way is to run it every day, but have the script figure out if
> it's the last day of the month, and exit if not.
Or even better: run it on the 28th-31st day of each calendar month and
then have the script figure out if it's th
On Wed, Apr 14, 2004 at 09:58:38AM -0600, s. keeling wrote:
> Incoming from Wayne Topa:
> > Rus Foster([EMAIL PROTECTED]) is reported to have said:
> > > Hi All,
> > > Couldn't find a decent answer to this in google but goes as follows
> > >
> > > If I have a cron job that is scheduled for the 31s
Incoming from Wayne Topa:
> Rus Foster([EMAIL PROTECTED]) is reported to have said:
> > Hi All,
> > Couldn't find a decent answer to this in google but goes as follows
> >
> > If I have a cron job that is scheduled for the 31st of the month and the
> > month we are in doesn't have 31 days would it
Rus Foster([EMAIL PROTECTED]) is reported to have said:
> Hi All,
> Couldn't find a decent answer to this in google but goes as follows
>
> If I have a cron job that is scheduled for the 31st of the month and the
> month we are in doesn't have 31 days would it be run on the last day of
> the month
Hi All,
Couldn't find a decent answer to this in google but goes as follows
If I have a cron job that is scheduled for the 31st of the month and the
month we are in doesn't have 31 days would it be run on the last day of
the month or not run at all?
Rus
--
e: [EMAIL PROTECTED]
t: 1-888-327-6330
6 matches
Mail list logo