I am attempting to run a scheduled task when the user begins the logoff process so that a scheduled task is run while the users profile is still active. I cannot find any reference to a command that would perform this function. I found -atlogon but thats it.
Any help will be greatly appreciated!
Trigger a scheduled task at logoff or shutdown
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 1
- Last visit: Thu Aug 13, 2020 1:11 pm