Scheduled Tasks

B

BobW

I have a vbs script (X.vbs) that creates a backup copy of an existing file
on another computer to a folder on this computer connected by a LAN. The
backup job is called PWCbackup.job File X.vbs scheduled to run each day at
4:00PM. On checking the log Schedlgu.txt I get the following messages.
PWCbackup.jog (X.vbs)
Started 2/13/09 4:00:00 PM
PWCBackup.job (X.vbs)
Finished 2/13/09 4:00:01 PM
Result: The task completed with an exit code of (0).

However checking the destination folder for the backup, the file was not
copied. - Running X.vbs manually does create the proper backup in the
correct folder. The scheduled task was created under a different user than
is normally running at 4:00 PM but I understand that it should still work.
 
P

Patrick Keenan

BobW said:
I have a vbs script (X.vbs) that creates a backup copy of an existing file
on another computer to a folder on this computer connected by a LAN. The
backup job is called PWCbackup.job File X.vbs scheduled to run each day at
4:00PM. On checking the log Schedlgu.txt I get the following messages.
PWCbackup.jog (X.vbs)
Started 2/13/09 4:00:00 PM
PWCBackup.job (X.vbs)
Finished 2/13/09 4:00:01 PM
Result: The task completed with an exit code of (0).

However checking the destination folder for the backup, the file was not
copied. - Running X.vbs manually does create the proper backup in the
correct folder. The scheduled task was created under a different user
than is normally running at 4:00 PM but I understand that it should still
work.

Does the account have a password? If not, the task scheduler will often
not run as expected.

HTH
-pk
 
B

BobW

Yes, the user group in which the backup job was created and the
PWCBackup.job have the same password.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top