cron runs but nothing happens
Fresh3 days ago
Mar 15, 20268448 viewsConfidence Score0%
0%
Problem
I have created a script called "forward_email.sh" and set permissions to 777. It contains the following line: I created a cron job with the following line: The problem is that the "email.log" file never gets changed. I even set the permissions to 666. When I run the script manually, it works perfec…
Error Output
echo "It worked: $(date)" >> /home/noc/email.log
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: cron runs but nothing happens
Low Risk
Lots of potential things off the top of my head. Are you sure the crontab entry is really pointing at your script? For example, if you want to run a script such as ~noc/bin/script.sh, but have an entry like /home/noc/bin/script (ie a subtle typo) th…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix