Zywl Posted June 10, 2010 Share Posted June 10, 2010 I have done a script to automatize a BackUp i need to do daily, the question is: ¿Is there an easy way to configure my machine so it executes the script daily at a certain time? I have already tried with the Windows Scheduled Tasks, but it didnt work for me. I need the task to be done daily with no users logged on the machine. I'm using Windows Server 2003. Link to comment Share on other sites More sharing options...
omikron48 Posted June 10, 2010 Share Posted June 10, 2010 It depends on what you're backing up and how that backup is being done. Does it need to open an application and interact with a window? Does it do the backup solely via commandline parameters? Link to comment Share on other sites More sharing options...
Zywl Posted June 10, 2010 Author Share Posted June 10, 2010 (edited) The backup is done Opening an Internet Explorer Window, navigating through several pages and clicking on a download link, it chooses the path and saves the downloaded file on a local folder. That's how the backup script works. Edited June 10, 2010 by Zywl Link to comment Share on other sites More sharing options...
omikron48 Posted June 11, 2010 Share Posted June 11, 2010 I'm no expert, but I'd guess you'd need a logged in session to do what you want. Link to comment Share on other sites More sharing options...
Zywl Posted June 11, 2010 Author Share Posted June 11, 2010 (edited) I'm no expert, but I'd guess you'd need a logged in session to do what you want.Yes, you are right, i was studying about how to create a Windows Service in order to do that, but, i dont even know if something like that is posssible.... im not an expert about that and i´m not considering that option right now.When i have an user account logged in, i can use a basic script to recreate a Scheduler that runs the backup script everyday at 4:00 PM, but its not possible for me, because the server machine is most of the time idle with no users logged in.PD: Yes, i know my english sucks.. Edited June 11, 2010 by Zywl Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted June 11, 2010 Share Posted June 11, 2010 Hi, You can schedule a job without a user being active .. you can use the windows system account or configure the windows credentials.. And disable the interact with the desktop options Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
omikron48 Posted June 11, 2010 Share Posted June 11, 2010 Can AutoIt interact with a windowed application without anyone logged in? I remember reading that some automation attempts failed just from having the computer locked. Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted June 11, 2010 Share Posted June 11, 2010 I never tried it with a AutoIT application but NTBackup from Windows 2003 does the same I've read the complete posting "The backup is done Opening an Internet Explorer Window, navigating through several pages and clicking on a download link, it chooses the path and saves the downloaded file on a local folder. That's how the backup script works." This will not work without a user being logged on Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
Juvigy Posted June 11, 2010 Share Posted June 11, 2010 Create one user on the Server and keep it logged in - lock the computer. Otherwise the script wont work. Link to comment Share on other sites More sharing options...
Zywl Posted June 11, 2010 Author Share Posted June 11, 2010 Ok, thanks for the support guys, since it's not possible to do the backup as i want, then i'm going to try to create an user that keeps permanently logged in for that specific purpose. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now