technomancer__ Posted January 13, 2019 Share Posted January 13, 2019 (edited) I have made a .cron file in the dynamix folder dockerrestart.cron here's the script also my crontab it starts at 4pm and keeps going until 5pm. what have I done wrong? Keeps going until 5 Edited January 13, 2019 by technomancer__ Quote Link to comment
Squid Posted January 13, 2019 Share Posted January 13, 2019 Because * 17 * * * means that the script will run every minute (5p - 5:59p) You want 0 17 * * * to only run at 5p 1 Quote Link to comment
technomancer__ Posted January 13, 2019 Author Share Posted January 13, 2019 (edited) 2 hours ago, Squid said: Because * 17 * * * means that the script will run every minute (5p - 5:59p) You want 0 17 * * * to only run at 5p oh thank you! i was so confused now i understand Edited January 13, 2019 by technomancer__ Quote Link to comment
technomancer__ Posted January 15, 2019 Author Share Posted January 15, 2019 @SquidI added another entry and it works fine. but i dont get whats the problem with the first one it still goes on loop for an hour Quote Link to comment
Squid Posted January 15, 2019 Share Posted January 15, 2019 did you update_cron 1 Quote Link to comment
technomancer__ Posted January 16, 2019 Author Share Posted January 16, 2019 19 hours ago, Squid said: did you update_cron yea Quote Link to comment
technomancer__ Posted January 16, 2019 Author Share Posted January 16, 2019 snip ? Why. I have no cron job set for this time and why does it output an error? Quote Link to comment
Squid Posted January 16, 2019 Share Posted January 16, 2019 Maybe you added one a different way just rebootSent via telekinesis 1 Quote Link to comment
technomancer__ Posted January 17, 2019 Author Share Posted January 17, 2019 On 1/16/2019 at 9:33 PM, Squid said: Maybe you added one a different way just reboot Sent via telekinesis i deleted the cron file with crontab -d and then updated cron with update_cron hope it works btw i did restart and it didn't work. i will update tomorrow at if its fixed Quote Link to comment
technomancer__ Posted January 18, 2019 Author Share Posted January 18, 2019 Maybe you added one a different way just rebootSent via telekinesisIt's still not fixed! What can I try next? Quote Link to comment
Squid Posted January 18, 2019 Share Posted January 18, 2019 What is the output of crontab -l and cat /etc/cron.d/root 1 Quote Link to comment
technomancer__ Posted January 18, 2019 Author Share Posted January 18, 2019 6 hours ago, Squid said: What is the output of crontab -l and cat /etc/cron.d/root I think i will be able to fix it i will remove them and update cron. i will update you tomorrow I just remove the 2 lines before # generated system monitoring schedule it save fine but when i update cron they come back Quote Link to comment
technomancer__ Posted January 19, 2019 Author Share Posted January 19, 2019 SnipStill not fixed Quote Link to comment
Squid Posted January 19, 2019 Share Posted January 19, 2019 Then you've added multiple .cron files (maybe in other directories) that are still the old version Quote Link to comment
technomancer__ Posted January 19, 2019 Author Share Posted January 19, 2019 7 minutes ago, Squid said: Then you've added multiple .cron files (maybe in other directories) that are still the old version 🤦♂️i made other cron file name docker rather than dockerrestart I updated cron and they are gone. hopefully, its fixed now. thank you very much for your patience. Quote Link to comment
technomancer__ Posted January 21, 2019 Author Share Posted January 21, 2019 Yea it's completely fixed Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.