Jump to content

cron keeps emailing me


drawde

Recommended Posts

in crontab -l i see that it will send the cron output to my email unless i do >/dev/null which i did.

 

crontab entry:

 

*/15 * * * * /mnt/cache/.apps/scripts/out_top.sh >/dev/null

 

my script is basically just a curl command, i tried putting >/dev/null also at the end of the curl command in my script, but it still keeps emailing me (or at least tries to) the output such as:

 

Dload  Upload  Total  Spent    Left  Speed

#015  0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0#015100  108    0    0  100  108      0    88  0:00:01  0:00:01 --:--:--    89#015100  636    0  528  100  108    284    58  0:00:01  0:00:01 --:--:--  287#015100  636    0  528  100  108    284    58  0:00:01  0:00:01 --:--:-- 

 

any way to suppress this? i also tried /dev/null 2>&1 in my actual script and also in the crontab entry with same results.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...