Identifying scheduled tasks that run at a certain time


I'm trying to find out if I have any scheduled tasks running between, say, 5pm and 6pm. I'm having an issue with a web application (Zendesk) where something seems to log me out around that time of day (or maybe my authentication expires).  Occurs under Chrome Version 69.0.3497.100 (Official Build) (64-bit).

So, I'm thinking that some process (Google related possibly) may be running and causing this issue.

I've gotten into the task scheduler, and am wondering if there's a way to search for any tasks that run during a certain time interval. Either from this screen or some other screen.
Turning in now for the night, but will check back in the morning.
Stephen KairysTechnical Writer - ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rupesh KrishnaProject LeadCommented:
Enable history, you should be able to see the tasks ran during specific periods
Rupesh KrishnaProject LeadCommented:
If its web application running on iis check if there is any worker process recycle scheduled in iis.
Open an elevated powershell and launch
get-scheduledtask | Get-ScheduledTaskInfo | select taskname, lastRunTime | sort -property lastruntime

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 Acronis Global Cyber Summit 2019 in Miami

The Acronis Global Cyber Summit 2019 will be held at the Fontainebleau Miami Beach Resort on October 13–16, 2019, and it promises to be the must-attend event for IT infrastructure managers, CIOs, service providers, value-added resellers, ISVs, and developers.

Jane UpdegraffSr. Systems AdministratorCommented:
Well ... just expanding the task scheduler window a bit (you can drag the window and area edges anywhere you want, same with the column widths) and scrolling side to side in the center window will show you last run time for all of the tasks in the list. But you might also look through the event viewer to see what else is happening right at that same time.

Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK, I'll need some time to look over theses
McKnife: How do i open an elevated powershell?

Stephen KairysTechnical Writer - ConsultantAuthor Commented:
@Jane - how do I access Event Viewer? Thanks.
click on the start button, type powershell - right click what it finds and select "run as administrator".
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
@McKnife -
Could any of these cause another process to log me out or discontinue authenticization?  Thanks.

StorageSense                                                                   10/8/2018 6:14:14 PM
Windows Defender Cleanup                                                       10/8/2018 6:14:14 PM
DmClient                                                                       10/8/2018 6:14:14 PM
ProgramDataUpdater                                                             10/8/2018 6:14:14 PM
AikCertEnrollTask                                                              10/8/2018 6:14:14 PM
Windows Defender Scheduled Scan                                                10/8/2018 6:14:14 PM
Windows Defender Cache Maintenance                                             10/8/2018 6:14:14 PM
USO_Broker_Display                                                             10/8/2018 6:14:14 PM
DsSvcCleanup                                                                   10/8/2018 6:14:14 PM
BackgroundUploadTask                                                           10/8/2018 6:14:14 PM
ScanForUpdatesAsUser                                                           10/8/2018 6:14:14 PM
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Now that I look at my problem history, I see the timing isn't quite right per my idea that some external process is logging me out. Does this listing show me everything I would see in the GUI for task scheduler?
Yes it does. It shows even more than you see at first sight. Because what Jane's screenshot shows, is just a small fraction of all there is hidden beneath the folders to the left of the task scheduler folder tree.

You need to start clear: what happens in the browser? "something seems to log me out" - so you see a logged in state, you leave the machine and come back and you need to login again?
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The issue could also be something unrelated.  As example, somebody logs in at about the same time every day and runs some manual query that crashes the worker process perhaps by overloading memory or cpu from another app.
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
@Scott - no one else is on my computer....this is a standalone machine at home.
@McKnife - I think it's happened while I've been actively working....that somehow Zendesk thinks I'm no longer logged in...

Skip the "somehow", please :-) What happens exactly? Do you have to login again, or,... what happens before you login, at what mask are you left in the browser?
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
The application throws a 401 error. Or tells me it can't upload a file. (This is an web app to store user guiides.) I need to re-log in in order to not have the 401 (or whatever) error happen.

Also please clarify "What mask".
What mask… well, in German, we would use the word "mask", maybe it's not suitable in English. Talking about the screen that you see, asking for the kind of dialogue that you see when returning to your screen.

Ok, 401. Could it be that you did not understand what Scott's point was? You answered "no one else is on my computer", but what about the web application? Is it only used by you or do others use it (from other machines)?
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Per Scott, I suppose it's possible someone else logs in, but that would be pretty difficult to track down...
Could you contact the server's admin and ask him about what's been goin on at the server at these times? Anything that logging might perhaps reveal...
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I wrongly assumed you were on a web server with multiple sites.

What is it you installed to make zendesk run on windows?
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Nothing to install. I just navigate to the URL that they set up for us.

Stephen KairysTechnical Writer - ConsultantAuthor Commented:
I'm trying an experiment: I logged out around 3pm and then back in . If the issue does not occur at the usual time of day that I've seen it, I may conclude it's some sort of timeout issue.
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Thanks, everyone. Jane and Scott, I did not have a chance to follow your directions. McKinfe  may thanks. While I did not verify that the data is correct, your instruction was helpful.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.