NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
9300170
Sep 02, 2019Aspirant
Delay Scheduled Power Down
I have a scheduled cron job that zips up my backup files and places them in a share that is kept in snyc with my google drive. I run a special cron job because I want an extra level of encryption f...
Sandshark
Sep 02, 2019Sensei - Experienced User
You could try adding a test condition to /etc/cron.d/poweroff. The basic form * * * * * test ! -f /tmp/skip && /path/to/script... looks for a file named /tmp/skip and skips the execution if it exists. So, your zipping script could create and remove the "skip" file. Now, that will only stop it from happening completely till the next scheduled event, not delay it. If you want to delay it, you'll need to make changes to /frontview/bin/autopoweroff.
You'll probably have to re-do anything you do after an OS update, so keep a copy handy.
If you try anything, please let us know what works and what doesn't.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!