I'm trying to get a success&error log, but no logging. My environment is Amazon Linux 2.
/etc/crontab */1 * * * * /home/ec2-user/gaMain.sh >> /var/log/galog.log 2>&1
/var/log/cron (ec2-user) CMD (/home/ec2-user/gaMain.sh >> /var/log/galog.log 2>&1)
So, the cron is running.
I expect the output of command sudo less /var/log/galog.log
, but i I get a error:
There is no file that name