Page 1 of 1

Task Scheduler Win 10

Posted: Sat Nov 19, 2016 11:37 pm
by Trevor
I have tried to set the program to work under the MS task scheduler working from Manage Backup/Auto run. It tells me the schedule has been created, but it does not appear in the MS library, and it does not operate at the given time.
I have also tried to set the schedule manually within the task scheduler itself, and it does appear in the library, but it does not work.
Could you please tell me the precise wording of the command line I need to make this work?
Many thanks in advance.
Trevor

Schedules

Posted: Mon Nov 21, 2016 5:33 pm
by Barry
AISBackup sets up tasks under Aquarius IS Consultancy / AISBackup

Also most backups must be run with ‘Run with highest privileges’ set on in able to backup NTFS security settings and other system files. Double click the schedule / General tab / check Run with highest privileges

It may be worth enabling ‘History’ and then clicking ‘Run’ to see what the error is. Both of these options are in the right hand ‘Actions’ section of MS Task Scheduler.

Barry

Posted: Tue Nov 22, 2016 11:04 pm
by Trevor
Thanks Barry. Sadly, this does not help.

I have tried to set up the schedule through AISB, and it appears to work. Indeed, I get the message that the schedule has been set up correctly. BUT, it does not appear in the task scheduler itself, and it does not run at the selected time.

I have also tried to set the task up manually in the scheduler. I used the action command ""C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database|November2016.bdb". [The name of the job is November 2016} The backup is kept on drive e:, Should I direct the scheduler there rather than the one on c:?

Scheduler history shows that the job does work, but does not do the backup. The "last run" result has been either 0x0, or 0x800704c7 I think this latter is the can't find a specified file error, so have I got the command line wrong?

The job is running with highest privileges.

I'm stumped. Any more advice please?

Regards

Trevor

Task scheduler

Posted: Wed Nov 23, 2016 3:34 pm
by Barry
The task scheduler Actions / Action should look like this:

Image

Where Program/script is usually:

"C:\Program Files (x86)\Aquarius IS Consultancy\AISBackup\AISBACKUP.exe"

and 'Add arguments (optional)' is the backup job name in quotes if it contains spaces (always use quotes is okay) - this option is for a backup job called Music to NSA320 FTP, the | character separates the backup job name from additional options and may left as shown:

"Music to NSA320 FTP|"

The backup job name is that shown in the 'Job name' column of the AISBackup form.

Barry

Posted: Sat Nov 26, 2016 11:25 am
by Trevor
Thanks for the help Barry. All is running well now. Regards
Trevor Cave