Re: Schedule a task



I have make some other test.
I need schedule a BAT file who:
1. map network drive
2. backup a sybase database
3. clear the network drive mapped ad point 1

the bat is
NET USE ...
DBBACKUP...
NET USE ... /DELETE /Y

If I schedule single commad all work fine. If I schedule a BAT doesn't work.

I have tryed with CMD /C MYBAT.BAT but the problem is the same

Thanks
Lorenzo

<lsoncini@xxxxxxxxxxx> ha scritto nel messaggio
news:1135004187.182019.162050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hy everybody,
> I'm try to create a scheduled task under a normal user (not
> Administrator) on windows 2000 or 2003.
>
> I have created a user, I have added to the "Backup Operators" group.
> I have checked the Tasks Scheduler service who run under LocalSystem
> and I have activated the flags "interact with desktop".
>
> I have modified the permission of the task and added the Read and
> execute permission to my user.
>
> If I make a login on the server machine with the new created user, the
> task (a bat file) run correctly.
>
> But when the system run it I recieve the error Access denied (in the
> log scheduler log)
>
> Sorry for my english and thanks for any idea
>
> Lorenzo Soncini
>


.



Relevant Pages

  • Re: NTBackup is Killing me.......
    ... you can schedule it to run with Windows Scheduled Tasks. ... >> something that I could schedule to run before the backup and when the backup ... >>> your networtk drives. ... Use the scheduler service to run the bat file. ...
    (microsoft.public.windows.server.general)
  • Re: NTBackup is Killing me.......
    ... you can schedule it to run with Windows Scheduled Tasks. ... > something that I could schedule to run before the backup and when the backup ... Use the scheduler service to run the bat file. ... but it did not back up any of the mapped drives I have. ...
    (microsoft.public.windows.server.general)
  • Re: Unhandled Exception Handler
    ... I have a BAT file that runs the application thussly. ... runs fine manually, but when it runs on the schedule, each invocation ... think may help is to add an Unhandled Exception handler to the app so ... The application is a Windows Application that has a Sub Main as the ...
    (microsoft.public.dotnet.languages.vb)
  • Unhandled Exception Handler
    ... one customer site, it behaves strangely. ... I have a BAT file that runs the application thussly. ... runs fine manually, but when it runs on the schedule, each invocation ... The application is a Windows Application that has a Sub Main as the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Exmerge 2003 as a sheduled task
    ... Call exmerge from a .bat file and use the AT command to schedule the .bat ... > files and the recreation of mailboxes. ...
    (microsoft.public.exchange.setup)