Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Douglas_Chenjer
Contributor

Restarting SMB using script

Please assist with a script to automate restarting SMBs at timed intervals

0 Kudos
5 Replies
HristoGrigorov

What about this one:

# echo "*/5 * * * * echo y | reboot" >> /pfrm2.0/etc/crontabs/root

John_Fleming
Advisor

Every 5 mins seems a bit excessive. 😄

0 Kudos
HristoGrigorov

You ruined all the fun John 😀

Seriously, crontab entry needs to be adapted to whatever time suits you. Plenty of docs about that on Internet.

0 Kudos
Douglas_Chenjer
Contributor

Kindly share

0 Kudos
HristoGrigorov

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events