Not a stupid question at all, especially because it fixed it. But why did it work fine from an interactive session and not from the scheduler? (Retorical question, I don't really want to know).
Thanks for your help. John ----- Original Message ----- From: "Blake Brown" <[EMAIL PROTECTED]> To: "MSWinNT Discussions" <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 1:45 PM Subject: RE: WNT 4.0 Task Scheduler question > This may be a stupid question, but have you rebooted the server? I have > seen Ntbackup commands act this way until I rebooted. It seems like it has > lost track of the tape drive, etc. > > -----Original Message----- > From: John P. Hoekstra [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 12:14 PM > To: MSWinNT Discussions > Subject: Re: WNT 4.0 Task Scheduler question > > > Seems like I always forget to mention one detail in these questions. The > batch file runs fine from the scheduler, it is only the ntbackup command > that exits without performing anything. I have put other commands in this > batch file, such as echo to a disk file and they work just fine. > > John > > ----- Original Message ----- > From: "Blake Brown" <[EMAIL PROTECTED]> > To: "MSWinNT Discussions" <[EMAIL PROTECTED]> > Sent: Wednesday, July 10, 2002 11:10 AM > Subject: RE: WNT 4.0 Task Scheduler question > > > > Make sure the admin account associated with the job has "log on as > > batch job" rights in user manager. > > > > -----Original Message----- > > From: John P. Hoekstra [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 10, 2002 10:05 AM > > To: MSWinNT Discussions > > Subject: WNT 4.0 Task Scheduler question > > > > > > I'm missing something with the setup of a scheduled task. I have had a > > scheduled job running on an NT 4.0 SP6a workstation running for 6 > > months > to > > do a periodic backup to tape. I have moved the data that was being > > backed > up > > to an NT 4.0 SP6a server with the same tape configuration. Internet > Explorer > > 5.5 SP2 is installed on both machines. > > > > I copied the job and the batch file that it uses to the server. I ran > > the batch file logged in as the username that I used for the scheduled > > task. > It > > worked fine, so I left the scheduled task to run. When the time came > > for > the > > scheduled task, it started and stopped on the same second with a > > status of 0, but no backup was performed. > > > > The username for the job is a domain user that is part of the > administrators > > group on the server (and the workstation). The batch file contains > "ntbackup > > backup d: /t daily". I have checked the user rights on the server and > > they appear to be identical to the workstation. The task scheduler is > > running under the system username with interact with desktop checked. > > > > What have I missed? > > > > John Hoekstra > > > > > > ------ > > You are subscribed as [EMAIL PROTECTED] > > Archives: http://www.swynk.com/sitesearch/search.asp > > To unsubscribe send a blank email to %%email.unsub%% > > > > ------ > > You are subscribed as [EMAIL PROTECTED] > > Archives: http://www.swynk.com/sitesearch/search.asp > > To unsubscribe send a blank email to %%email.unsub%% > > > > > > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to %%email.unsub%% > > ------ > You are subscribed as [EMAIL PROTECTED] > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe send a blank email to %%email.unsub%% > > ------ You are subscribed as [email protected] Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe send a blank email to [EMAIL PROTECTED]
