Anyway to bring server online automatically?
Moderator: Project members
Anyway to bring server online automatically?
I'm running Windows 7 and use FZ server to accept daily backup files from a web server via cron job. Only one IP address is allowed to connect, but I'd like to secure it even more by bringing the server online during a specific time frame. Has anyone else done this?
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-06-06 13:53
- First name: Andrew
- Last name: Owen-jones
- Location: Cape Town South Africa
Re: Anyway to bring server online automatically?
you should be able to use the Task Scheduler with windows 7 to start and stop programs
start-all programs-accessories-system tools-task scheduler
hope it works
start-all programs-accessories-system tools-task scheduler
hope it works
Re: Anyway to bring server online automatically?
Thanks, got this working. I had to reinstall so the server would start automatically. Didn't feel like digging through the forums looking for registry key edits.
Next question: I'd like to shut it down after a certain time and the settings tab of the task is set to shut it down after 4 hours, which is probably fine, but I like control. So I tried creating another task with the argument /stop.
"C:\Program Files\FileZilla Server\FileZilla server.exe" /stop
That looks exactly the same as the Stop FileZilla Server shortcut from the start menu, but it doesn't work. I tried shutting the Interface down with this: "C:\Program Files\FileZilla Server\FileZilla Server Interface.exe" /stop, but that doesn't work either. It launches another Server Interface window. It's like /stop is being ignored.
Any ideas?
Next question: I'd like to shut it down after a certain time and the settings tab of the task is set to shut it down after 4 hours, which is probably fine, but I like control. So I tried creating another task with the argument /stop.
"C:\Program Files\FileZilla Server\FileZilla server.exe" /stop
That looks exactly the same as the Stop FileZilla Server shortcut from the start menu, but it doesn't work. I tried shutting the Interface down with this: "C:\Program Files\FileZilla Server\FileZilla Server Interface.exe" /stop, but that doesn't work either. It launches another Server Interface window. It's like /stop is being ignored.
Any ideas?
Re: Anyway to bring server online automatically?
You might need to run this as Administrator.