- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: REBOOT command from ssh / cron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I want to use the reboot command from crontab.
It works in ssh from command line but when i put into cron it does not run.
05 0 1-28/3 * * reboot
I'm running 6.9.4 OS6...
Any pointers??
Regards
// Hans
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If someone else want to have their OS6 readynas reboot gracefully every third day you could put this in your crontab:
1 5 1-28/3 * * systemctl reboot
I figured it out finally..
// Hans
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If someone else want to have their OS6 readynas reboot gracefully every third day you could put this in your crontab:
1 5 1-28/3 * * systemctl reboot
I figured it out finally..
// Hans
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: REBOOT command from ssh / cron
Nice, @viperhansa, thanks for letting know and kind regards.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: REBOOT command from ssh / cron
Hi viperhansa,
Thank you for sharing this information. We appreciate your contribution to the community.
Feel free to post any suggestions, questions, recommendations or anything about your NAS that you think needs attention or will help others.
Regards,