Jump to content

Recommended Posts

Posted

It will probably fail 2 days a week, different days, schedule runs at the same time every day.

 

No error messages at all, it is like the schedule is just not running or attempting to run. Have changed the schedule quite a few times, no backups or AV scans being performed at the time.

 

Just doesn't make sense, any pointers.

Posted
What does the scheduled task do? Is it a script or something? Is there any logging you can enable as part of it, either to Event Viewer or to a text file.

 

Just runs a powershell directly from the task schedule, I did have it run a script that ran the powershell but changed that due to the Intermitent issues.

Posted
Just runs a powershell directly from the task schedule, I did have it run a script that ran the powershell but changed that due to the Intermitent issues.

 

Does it have any logging already included? If not it's worth either adding some manually using Write-Output or temporarily redirecting the error output to a text file with date/time stamps in case it's an issue with the powershell script itself. If there is no output from that then I'd guess it's an issue with the task schedule itself, I'd check the History and see if anything at all is logged there, there might also be some way to enable more verbose logging through event viewer or something.

Posted
Does it have any logging already included? If not it's worth either adding some manually using Write-Output or temporarily redirecting the error output to a text file with date/time stamps in case it's an issue with the powershell script itself. If there is no output from that then I'd guess it's an issue with the task schedule itself, I'd check the History and see if anything at all is logged there, there might also be some way to enable more verbose logging through event viewer or something.

 

Going through the event logs for task scheduler you can not see the actual task schedule been run. On days the task schedule works you can see the task being run. It is like the system just isn't running the tasks. I have since found that the AV scan was actually starting just before the task schedule so have adjusted the time.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...