Windows Server 2003
1827728 Members
2801 Online
109968 Solutions
New Discussion

Weird Task Scheduler issue

 
Mike_827
New Member

Weird Task Scheduler issue

I am a administrator on the server and I wrote a scripts to backup the database. Anyway, when I executed the scripts manually, it ran successfully. When I used to TASK SCHEDULER to schedule the job to be run, it ran sucessfully IF I AM STILL LOG ON THE SERVER; However, when I log off the server, BACKUP IS NOT RUNNING but on the Task schedulers show that it executed and schedule to be run next time.

I suspect it had something to do with some of the services are not running on the server.

Does anyone have any thoughts or advises????

thanks,
4 REPLIES 4
Ron Kinner
Honored Contributor

Re: Weird Task Scheduler issue

Task Scheduler runs as a Local System account so make sure that all programs it is supposed to run can be run by System. (Right click on the program and select Properties then Security. You should have System on the list and if highlighted it should show Full Control as being checked.)

Ron

Mike_827
New Member

Re: Weird Task Scheduler issue

Ron,

yes, it is.

the weird thing is that TASK SCHEDULER is working ok and I am still log on. When I log of the system, the job never run even the time is updated on TASK SCHEDULER.

any other thoughts
Chris Turnbull
Valued Contributor

Re: Weird Task Scheduler issue

Are you getting anything noted in the system or application event logs?
Jon Finley
Honored Contributor

Re: Weird Task Scheduler issue

The usual questions:
1. Did you enter a user ID and password?
2. Is the check box "Only run if logged on?" checked?
3. Does this script require a GUI program to launch?

Jon
"Do or do not. There is no try!" - Yoda