-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
not finding update when run from task scheduler #5603
Labels
Comments
I don't quite understand, it's the same script executed either manually or automatically. How can I update the manifest automatically?
Apologies if this is a dumb question, I've not looked at this for over a year!
Thanks for helping, much appreciated.
Joseph Narai • Zenso
…________________________________
From: HUMORCE ***@***.***>
Sent: Tuesday, August 8, 2023 8:59:13 PM
To: ScoopInstaller/Scoop ***@***.***>
Cc: Joseph Narai ***@***.***>; Author ***@***.***>
Subject: Re: [ScoopInstaller/Scoop] not finding update when run from task scheduler (Issue #5603)
Your manifest DeviceProxy has not been updated when your script is executed automaticlly(Start Device Proxy Update at 07/27/2023 03:00:03), so it will not be updated.
[Screenshot 2023-08-08 105625]<https://user-images.githubusercontent.com/4353480/259077732-647bded1-e601-416f-bfc9-77f7d2c7917e.png>
—
Reply to this email directly, view it on GitHub<#5603 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADMH5ITOKQM5TURKHFJEMZLXUILYDANCNFSM6AAAAAA3IABIFQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Oh, I see, what you are saying is the auto update task only ran back on 27/7... I'll find out why it isn't running every day!! Thanks |
Yes, unless your machine is a time machine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
I have created my own scoop bucket. Has been working happily for nearly a year. I've just released a new version of the app and my machines are not automatically updating themselves.
Our repo is located here: https://github.com/Design2Production/dp-scoop.git
I have an automated ps1 script that runs every day at 3am, which does
try { # Execute the Update scoop update scoop update * } catch { Write-Output "Update Exception:$_.Exception.Message" }
Current Behavior
When running the script automatically as a task under task scheduler it seems to update scoop, but does NOT update my app
When running the script manually under a power shell terminal it updates scoop and my app
If you look at the log outputs below, you'll see that when I run it manually, it says that the update for my app was pushed 25 hours ago: 4b262aa Push PRX1.7.6.0 25 hours ago
So it should have been picked up the scheduled update the day before...
Expected Behavior
Should run normally under both cases
Additional context/output
When running under task scheduler:
Transcript started, output file is C:\ProgramData\DP\DeviceProxy\log\DeviceProxy-10000440-UpdateLog.txt
When running manually in power shell admin terminal:
Transcript started, output file is C:\ProgramData\DP\DeviceProxy\log\DeviceProxy-10000440-UpdateLog.txt
System details
Windows version: [10/11]
OS architecture: 64bit
Scoop Configuration
The text was updated successfully, but these errors were encountered: