Author Topic: Cron job does not work  (Read 342 times)

0 Members and 1 Guest are viewing this topic.

Cron job does not work
« on: July 28, 2023, 11:34:04 AM »
Anyone have idea what's going on with my cron job. Cron is run as i expect but does not execute script and I can't find any error, in cron log I found

Code: [Select]
Jul 28 13:20:01 global CROND[9961]: (username) CMD (wget -qO /dev/null )
Jul 28 13:20:01 global CROND[9959]: (username) MAIL (mailed 71 bytes of output but got status 0x0001#012)

If I setup same line as root user all is working fine

Code: [Select]
*/10 * * * * wget -qO /dev/null
But if I set up cron as any other user in that case i have problem, and also this file does not call any mail function inside, i was try to disable firewall but all is same.