Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[cron] Bj 1 taak geen mail sturen [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
fuge
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2004
Posts: 117
Location: Brugge, Belgium (Europe)

PostPosted: Sat Oct 08, 2005 10:46 am    Post subject: [cron] Bj 1 taak geen mail sturen [SOLVED] Reply with quote

Zoals topic al zegt, ik wil dat vixie-cron bij 1 bepaalde taak mij geen output mailt (want om de 5min een email ontvangen zorgt voor een veel te volle mailbox) maar ik zou graag wel nog mails ontvangen van de andere taken.

greetz
_________________
*** Human knowledge belongs to the world ***


Last edited by fuge on Mon Oct 10, 2005 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Oct 08, 2005 12:48 pm    Post subject: Reply with quote

Quote:
EXAMPLE CRON FILE

# use /bin/sh to run commands, overriding the default set by cron
SHELL=/bin/sh

# mail any output to ‘paul’, no matter whose crontab this is
MAILTO=paul

# # run five minutes after midnight, every day
5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1

# run at 2:15pm on the first of every month -- output mailed to paul
15 14 1 * * $HOME/bin/monthly



Als ik het goed begrijp, wordt bij de 1e entry niet gemaild en bij de 2e wel. Als dat niet werkt zou je sommige taken in een andere crontab kunnen duwen.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
fuge
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2004
Posts: 117
Location: Brugge, Belgium (Europe)

PostPosted: Sat Oct 08, 2005 8:37 pm    Post subject: Reply with quote

met >> de output in een file zetten slim gezien !
_________________
*** Human knowledge belongs to the world ***
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum