Auto-Reboot

Auto-Reboot

Postby Diejeitor123 » Sat Apr 03, 2021 9:42 pm

Is there a way that the NAS automatically reboots once a week?, I have tried the cronjobs but I don't understand how to configure it.
Diejeitor123
Donator VIP
Donator VIP
 
Posts: 48
Joined: Wed Apr 29, 2015 10:30 pm

Re: Auto-Reboot

Postby Jocko » Mon Apr 05, 2021 9:13 pm

Hi

it is quite easy. From the main cron menu, click on "Add a job". Then use as job the command: reboot and select a time in the first droplists (hour and minute)and a day also in the last droplist (weekday).

So generate the job line, you should get a line like
Code: Select all
30 1 * * 5 reboot

Here the nas will reboot at 01:30 every Friday (5=5th day of week)
Then submit it
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Auto-Reboot

Postby Diejeitor123 » Thu Apr 08, 2021 3:20 pm

Jocko wrote:Hi

it is quite easy. From the main cron menu, click on "Add a job". Then use as job the command: reboot and select a time in the first droplists (hour and minute)and a day also in the last droplist (weekday).

So generate the job line, you should get a line like
Code: Select all
30 1 * * 5 reboot

Here the nas will reboot at 01:30 every Friday (5=5th day of week)
Then submit it




Thanks¡¡¡ :punk :punk
Diejeitor123
Donator VIP
Donator VIP
 
Posts: 48
Joined: Wed Apr 29, 2015 10:30 pm


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 3 guests