Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3921

Hyper-v 2016 - Task Scheduling

$
0
0

Thank in advance any help is greatly appreciated.

I have a pretty simple task that executes windows backup (wbadmin) the script works fine, however the task scheduler doesn't.

It is suppose to run weekly on Saturday at 0200, however as you can see from the query it only ran once. Any ideas are greatly appreciated.

#schtasks /query /tn HyperV_Bkp_Weekly /fo list /v

Folder: \
HostName:                             HYPERTWO-A
TaskName:                             \HyperV_Bkp_Weekly
Next Run Time:                        4/20/2019 2:00:00 AM
Status:                               Ready
Logon Mode:                           Interactive only
Last Run Time:                        2/23/2019 2:00:00 AM
Last Result:                          -196608
Author:                               admin
Task To Run:                          powershell.exe -file c:\scripts\backup_wkly.ps1
Start In:                             N/A
Comment:                              N/A
Scheduled Task State:                 Enabled
Idle Time:                            Disabled
Power Management:                     Stop On Battery Mode, No Start On Batteries
Run As User:                         admin
Delete Task If Not Rescheduled:       Disabled
Stop Task If Runs X Hours and X Mins: 72:00:00
Schedule:                             Scheduling data is not available in this format.
Schedule Type:                        Weekly
Start Time:                           2:00:00 AM
Start Date:                           2/19/2019
End Date:                             N/A
Days:                                 SAT
Months:                               Every 1 week(s)
Repeat: Every:                        Disabled
Repeat: Until: Time:                  Disabled
Repeat: Until: Duration:              Disabled
Repeat: Stop If Still Running:        Disabled




Viewing all articles
Browse latest Browse all 3921

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>