Hisma
Explorer
- Joined
- Mar 23, 2013
- Messages
- 87
forgive me, because I am a newb.
But when the script runs at 3am, I get 2 e-mails. One with this contents -
"/etc/defaults/periodic.conf: or: not found
/etc/defaults/periodic.conf: or: not found"
The other with this contents -
"/mnt/NAS1/Scripts/daily-checks.sh: line 1: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 3: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 10: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 90: syntax error: unexpected end of file"
I followed the directions to the "t" from the first post. Obviously, the crontask is working, and obviously, it's attempting to execute the script. However, I am not sure why I get these bizzare ouputs.
Can someone point me in the right direction? I can provide more info if needed...
But when the script runs at 3am, I get 2 e-mails. One with this contents -
"/etc/defaults/periodic.conf: or: not found
/etc/defaults/periodic.conf: or: not found"
The other with this contents -
"/mnt/NAS1/Scripts/daily-checks.sh: line 1: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 3: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 10: $'\r': command not found
/mnt/NAS1/Scripts/daily-checks.sh: line 90: syntax error: unexpected end of file"
I followed the directions to the "t" from the first post. Obviously, the crontask is working, and obviously, it's attempting to execute the script. However, I am not sure why I get these bizzare ouputs.
Can someone point me in the right direction? I can provide more info if needed...