HeloJunkie
Patron
- Joined
- Oct 15, 2014
- Messages
- 300
System Information
Hostname ratchet.xxxxxxx.xxx
Build FreeNAS-9.3-STABLE-201503200528
Platform Intel(R) Pentium(R) CPU J2900 @ 2.41GHz
Memory 16060MB
System Time Wed Mar 25 07:04:30 PDT 2015
Uptime 7:04AM up 4 days, 17:40, 1 user
Load Average 0.01, 0.04, 0.01
OK, I looked around both here on the forums as well on the support site and I think I found a bug related to what I am seeing but the bug (897) was marked fixed 3 years ago. However I am seeing the exact same symptoms and outputs as the OP of that bug. Maybe I am just missing something...
I have a script that runs a couple of tasks and emails me a report. The script in question I want to run every Sunday at 1230 hours. I created (via the GUI) a cron entry for every day of the month, every month of the year and only Sunday as the day of the week. With those cron instruction, I would have expected something like this:
30 00 * * 7 root /root/scripts/ratchet_smart_report.sh > /dev/null
but instead I see this:
30 00 01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 * 7 root /root/scripts/ratchet_smart_report.sh > /dev/null
And the script which is supposed to run every Sunday at 1230 hours is running every single day at 1230 hours. Removing the actual days of the month from the GUI gives me an error saying that it is a required entry.
Physically changing the /etc/crontab via vi simple results in the GUI rewriting it anytime I make another change in the GUI.
Hopefully I am just missing something here and someone can point me in the right direction.
Hostname ratchet.xxxxxxx.xxx
Build FreeNAS-9.3-STABLE-201503200528
Platform Intel(R) Pentium(R) CPU J2900 @ 2.41GHz
Memory 16060MB
System Time Wed Mar 25 07:04:30 PDT 2015
Uptime 7:04AM up 4 days, 17:40, 1 user
Load Average 0.01, 0.04, 0.01
OK, I looked around both here on the forums as well on the support site and I think I found a bug related to what I am seeing but the bug (897) was marked fixed 3 years ago. However I am seeing the exact same symptoms and outputs as the OP of that bug. Maybe I am just missing something...
I have a script that runs a couple of tasks and emails me a report. The script in question I want to run every Sunday at 1230 hours. I created (via the GUI) a cron entry for every day of the month, every month of the year and only Sunday as the day of the week. With those cron instruction, I would have expected something like this:
30 00 * * 7 root /root/scripts/ratchet_smart_report.sh > /dev/null
but instead I see this:
30 00 01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 * 7 root /root/scripts/ratchet_smart_report.sh > /dev/null
And the script which is supposed to run every Sunday at 1230 hours is running every single day at 1230 hours. Removing the actual days of the month from the GUI gives me an error saying that it is a required entry.
Physically changing the /etc/crontab via vi simple results in the GUI rewriting it anytime I make another change in the GUI.
Hopefully I am just missing something here and someone can point me in the right direction.