× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: REBOOT command from ssh / cron

viperhansa
Virtuoso

REBOOT command from ssh / cron

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

Model: ReadyNAS RNDP6000v2|ReadyNAS Pro 6 Chassis only
Message 1 of 5

Accepted Solutions
viperhansa
Virtuoso

Re: REBOOT command from ssh / cron

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..  Smiley Happy

 

// Hans

View solution in original post

Message 3 of 5

All Replies
viperhansa
Virtuoso

Re: REBOOT command from ssh / cron

Anyone?

Bump...

Message 2 of 5
viperhansa
Virtuoso

Re: REBOOT command from ssh / cron

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..  Smiley Happy

 

// Hans

Message 3 of 5
Retired_Member
Not applicable

Re: REBOOT command from ssh / cron

Nice, @viperhansa, thanks for letting know and kind regards.

Message 4 of 5
JohnCM_S
NETGEAR Employee Retired

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,

Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 3878 views
  • 3 kudos
  • 3 in conversation
Announcements