[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crontab



> * Alf Werder (awerder@gmx.de) [031204 11:16]:
>> On Thu, 2003-12-04 at 19:17, Michael Martinell wrote:
>> > I am definitely doing something wrong here.  I want to schedule a
>> job
>> > to run once at 12:00noon.  I set it up in cron.  It waits until
>> > 12:00noon, runs, and then runs every minute after.
>
>> > * 12 * * * /usr/sbin/parselog
>>
>> Try '0 12 * * * /usr/bin/parselog'.
>>
>> According to crontab(5) an asterix means 'first-last'. Your line is
>> interpreted as '0-59' 12 * * * /usr/bin/parselog', which indeed
>> means to
>> start the command every minute in the time from 12pm to 1am.
>
> You mean 12:00 - 12:59, which is until 1pm.
>
> good times,
> Vineet
> --
> http://www.doorstop.net/
> --
> "If you can put it on a T-shirt, it's speech... To enjoin the T-shirts
> as a
> circumvention device is ludicrous." --Robin Gross, EFF staff attorney
>


I messed up all sorts of way in that email.  I am going to shoot
myself now, thank you.

Bojan



Reply to: