> Isn't the syntax to have cron run every five and not send email to anyone
>
> MAILTO=""
> 5 * * * *
>
>
> Lance
>
The above line would run the program once in an hour, 5 minutes after
the excat hour. To have it run every 5 minutes you can use
*/5 * * * *
As for not sending mail to
Lo, on Sunday, October 21, Lance Hoffmeyer did write:
> Isn't the syntax to have cron run every five and not send email to anyone
>
> MAILTO=""
> 5 * * * *
That will run your program 5 minutes after the hour, every hour. See
crontab's manpage from section 5.
MAILTO=""
*/5 * * * *
Richard
[EMAIL PROTECTED] (Lance Hoffmeyer) writes:
> Isn't the syntax to have cron run every five and not send email to anyone
>
> MAILTO=""
> 5 * * * *
*/5 * * * * user program
^^^
||
|+--- if this is /etc/crontab or /etc/cron.d/
+--- yours only works at 5 p
On 21-Oct-2001 Lance Hoffmeyer wrote:
> Isn't the syntax to have cron run every five and not send email to anyone
>
> MAILTO=""
> 5 * * * *
>
not so sure about the MAILTO thing. If the run generates an error the admin
may still get a message I think. Why not just have it do:
program > /dev/
Lance Hoffmeyer wrote:
Isn't the syntax to have cron run every five and not send email to anyone
MAILTO=""
5 * * * *
That will run it at five minutes past the hour. What you really want is
something like:
5,10,15,20,25,30,35,40,45,50,55 * * * *
--
Nathan | [EMAIL PROTECTED] | http://ww
On Sunday 21 October 2001 14:49 pm, Lance Hoffmeyer wrote:
> Isn't the syntax to have cron run every five and not send email to anyone
>
> MAILTO=""
> 5 * * * *
That will run every hour at 5 minutes past the hour. What you want is
probably
*/5 * * * *
--
Bud Rogers <[EMAIL PROTECTED]>
They
Isn't the syntax to have cron run every five and not send email to anyone
MAILTO=""
5 * * * *
Lance
7 matches
Mail list logo