This cron tqsk doesn't work:
[main_usr@localhost ~]$ sudo crontab -l -u root
0 * * * * /home/main_usr/cron_test1.sh > /home/main_usr/cron_test1_out.sh.out 2>&1
[main_usr@localhost ~]$
And
$ ls -al cron_test1.sh
-rwxr-xr-x 1 main_usr main_usr 293 Apr 8 05:12 cron_test1.sh
As you can see, there's a new line in the cron tasks. And the file exists and is executable. The task was created a day ago. It should've run once in an hour. Nonetheless, 'cron_test1_out.sh.out' hasn't been created.
Why?
cron
daemon running? – hymie Apr 10 '19 at 20:08