mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #525] Scheduled task only runs when on AC #290
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#290
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GodsVictory on GitHub (Sep 7, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/525
This is fine for desktops, but when a laptop is ran on battery, the client will not startup.
There are 2 alternatives that I have found:
Create a XML file when building the clients containing the scheduled task
Use a windows service instead
I posted a solution to creating windows services on an old post. It replaces the schtasks command in startup.cs with this:
Edit: The service does not currently work correctly. Windows waits for a "Service Started" message within 30 seconds of starting the service. I will see if I can figure out how to implement ServiceMain to support it.
@dummy0stud commented on GitHub (Sep 9, 2016):
"but when a laptop is ran on battery", are you sure about this?
@GodsVictory commented on GitHub (Sep 12, 2016):
yes?
@MaxXor commented on GitHub (Sep 15, 2016):
This belongs to #244 second point: