Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for task at startup #66

Open
lorenzwalthert opened this issue Mar 15, 2019 · 2 comments
Open

Support for task at startup #66

lorenzwalthert opened this issue Mar 15, 2019 · 2 comments

Comments

@lorenzwalthert
Copy link

lorenzwalthert commented Mar 15, 2019

Hi

Thanks for this useful package. I have the following problem: Sometimes, it seems as Windows restarts unexpectedly to install software updates. This might be ok, but the problem is that it leaves running taskscheduleR scrips in a broken state. I'd like to schedule a script at startup to basically restore the state. Hence, I'd need support for "at startup", in addition to the existing methods like "on idle" and "on logon". Also, do you know what happens if I restart and don't log a user in? Does this already trigger "on logon" or does "on logon" mean if I enter my credentials and literally log in. Thanks.

Here is a link with the syntax: https://support.microsoft.com/de-de/help/814596/how-to-use-schtasks-exe-to-schedule-tasks-in-windows-server-2003

@jwijffels
Copy link
Collaborator

Yes that would be interesting, feel free to contribute with a pull request

@lorenzwalthert
Copy link
Author

I realized it is more complicated because of permissions needed to execute this (and other problems I can't remember), so we solved the problem otherwise and I won't do a PR.

@bnosac bnosac deleted a comment from sumedhkumarprasad Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants