January 2, 20179 yr How can I schedule a clean shutdown of my server at the end of the day? Can I add just a line to the go file? Do I need to install any apps for this?
January 2, 20179 yr You can also do it remotely via Plink (part of the Putty download). I have the following line in my automated .CMD file that runs on a scheduled basis in Windows: S:\Downloads\Putty\Plink.exe -ssh -pw <my password> root@<server name> powerdown [My .CMD file turns on the server via WOL, waits 2 minutes, does a set of backups, and then powers down the server.]
January 21, 20179 yr Author User Scripts plugin I added this plugin But how and where should I add which line. What should it contain to powerdown down at 01:00 for instance? Can't just a simple line be added to the go file?
January 21, 20179 yr Community Expert User Scripts plugin I added this plugin But how and where should I add which line. What should it contain to powerdown down at 01:00 for instance? Can't just a simple line be added to the go file? Did you read the User Scripts thread?
January 21, 20179 yr Author yes, can I just add something like echo "powerdown" | at 02:00 to a scripts file in the config/plugins/user.scripts/scripts folder?
January 21, 20179 yr make a folder within /boot/config/plugins/user.scripts/scripts called "Scheduled PowerDown" make a file within there called "script" contents of the file would be #description=This will powerdown the server powerdown Then within user script's UI, set a custom cron schedule for it to be * 2 * * *
January 21, 20179 yr Author make a folder within /boot/config/plugins/user.scripts/scripts called "Scheduled PowerDown" make a file within there called "script" contents of the file would be #description=This will powerdown the server powerdown Then within user script's UI, set a custom cron schedule for it to be * 2 * * * Thanks, what exactly does * 2 * * do? How do I change the time at which the server powers down?
January 21, 20179 yr Community Expert what exactly does * 2 * * do? Tells it when to run the script. Try it and the page will tell you what it means and you can figure out how to set it differently.
January 21, 20179 yr Author Did as instructed and created the script file in the scheduled powerdoen folder. But don't see where I can set the * 2 * *. I see the Apply Done and How to add scripts button but nothing else.
January 22, 20179 yr Author This plugin seems to have brought the UI to a crawl, it took ages to switch from tab to tab, dashboard main, settings etc. Deleting the plugin from flash brought my system back to normal.
Archived
This topic is now archived and is closed to further replies.