Identifying scheduled tasks that run at a certain time

Stephen Kairys
Stephen Kairys used Ask the Experts™
on
Win10:

Hi,
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.
Tasks
Turning in now for the night, but will check back in the morning.
Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Enable history, you should be able to see the tasks ran during specific periods
If its web application running on iis check if there is any worker process recycle scheduled in iis.
Distinguished Expert 2018
Commented:
Open an elevated powershell and launch
get-scheduledtask | Get-ScheduledTaskInfo | select taskname, lastRunTime | sort -property lastruntime

Open in new window

Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Jane UpdegraffSr. Systems Administrator

Commented:
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.

task-scheduler.PNG
Stephen KairysTechnical Writer - Consultant

Author

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

Thanks.
Stephen KairysTechnical Writer - Consultant

Author

Commented:
@Jane - how do I access Event Viewer? Thanks.
Distinguished Expert 2018

Commented:
click on the start button, type powershell - right click what it finds and select "run as administrator".
Stephen KairysTechnical Writer - Consultant

Author

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
SR
Stephen KairysTechnical Writer - Consultant

Author

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?
Distinguished Expert 2018

Commented:
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 FellDeveloper & EE Moderator
Fellow 2018
Most Valuable Expert 2013

Commented:
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 - Consultant

Author

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...

Thanks.
Distinguished Expert 2018

Commented:
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 - Consultant

Author

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".
Distinguished Expert 2018

Commented:
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 - Consultant

Author

Commented:
Per Scott, I suppose it's possible someone else logs in, but that would be pretty difficult to track down...
Distinguished Expert 2018

Commented:
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 FellDeveloper & EE Moderator
Fellow 2018
Most Valuable Expert 2013

Commented:
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 - Consultant

Author

Commented:
Nothing to install. I just navigate to the URL that they set up for us.

e.g. https://mysite.zendesk.com/...
Stephen KairysTechnical Writer - Consultant

Author

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 - Consultant

Author

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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial