Code: Select all
shutdown -r now
Sure, I'm uploading the files I use. I wrote a small c program for the loop, it calls the 'cmds.bat' file, which calls the ssh client Putty with the appropiate parameters. You'll also need putty.exe in the same folder as the files. Take a look at the files and edit the ip address for your pi in 'setip.bat' file. Run 'loop.exe' for the reboot loop to begin. You can also change the linux reboot command at 'reboot.sh'. It works in Windows XP, I guess it will work also in Windows 7.ElectricGryphon wrote:Hi Henry,
Can you share your script for rebooting the pi every 90 seconds--is there a way to get it running on Win7?
Reboot seems to shutdown all processes and flush caches, etc. I'd say it calls shutdown but I would have to check it, thanks.Vindicator wrote:When you say reboot are you using any thing like reboot -f just a reboot command may not let it write back if it needs too.
Users browsing this forum: Baidu [Spider] and 57 guests