ChocolateyPackages icon indicating copy to clipboard operation
ChocolateyPackages copied to clipboard

[choco-cleaner & choco-package-list-backup] execution of (short) tasks after a missed appointment

Open DJCrashdummy opened this issue 5 years ago • 6 comments

i totally got the idea behind the pseudo-supersession of choco-upgrade-all-at-startup by choco-upgrade-all-at (because of a possible slowdown of the boot/reboot), but wouldn't it make sense to activate the setting "execute task as soon as possible after a missed appointment" at least in tasks with relatively short execution-time like choco-cleaner and choco-package-list-backup?

DJCrashdummy avatar Oct 26 '18 11:10 DJCrashdummy

Both of these are stand-alone scripts that can be executed manually at any time.

I'll look into making choco-cleaner and choco-package-list-backup run when missed.

i totally got the idea behind the pseudo-supersession of choco-upgrade-all-at-startup by choco-upgrade-all-at

Those two packages are mutually exclusive and there is nothing in one that knows about the other; there is no "pseudo-supersession"

bcurran3 avatar Oct 27 '18 18:10 bcurran3

Both of these are stand-alone scripts that can be executed manually at any time.

i'm aware of this, hence the shortcuts in the start-menu... but i'm rather thinking about automation for causal users who wouldn't run them manually or don't even have a clue about it. so you may set an execution time for the task and don't really have to think about it if the user is ever running his machine at this time.


Those two packages are mutually exclusive and there is nothing in one that knows about the other; there is no "pseudo-supersession"

i'm just citing https://chocolatey.org/packages/choco-upgrade-all-at-startup:

[...] Because of this choco-upgrade-all-at-startup is pseudo-deprecated and pseudo-superseded by choco-upgrade-all-at [...]

...and had the possible slowdown of the boot/reboot in mind. sorry for not mentioning this (edited the first comment)!

DJCrashdummy avatar Oct 29 '18 08:10 DJCrashdummy

I think I read "supersession" as "suppression" the first time I read it.

Because of this choco-upgrade-all-at-startup is pseudo-deprecated and pseudo-superseded by choco-upgrade-all-at [...]

In other words: The package is stable and nothing more can really be done with it... and I recommend choco-upgrade-all-at over it due to daily updates versus whenever a user happens to reboot.

But I'm on-board with your request!

bcurran3 avatar Oct 30 '18 20:10 bcurran3

I think I read "supersession" as "suppression" the first time I read it.

ahh... ok, funny. :wink:

The package is stable and nothing more can really be done [...]

yep, it looks to be the case. i want to emphasize that it's a good decision to keep providing (probably maintaining) choco-upgrade-all-at-startup, as it may be interesting for several people. although choco-upgrade-all-at is more advanced... perhaps some people are using both of them together to play it safe.

DJCrashdummy avatar Nov 01 '18 11:11 DJCrashdummy

Any progress on this?

soredake avatar Apr 25 '21 12:04 soredake

None yet. Honestly, it's very low priority.

It will probably come along with the option added to all my related scripts at once.

bcurran3 avatar May 03 '21 02:05 bcurran3

@DJCrashdummy @soredake

I just added support to run on batteries and to run when available after a missed schedule to choco-package-list-backup. It's a beta for you to try. Should work fine. Please get back to me with feedback.

choco install choco-package-list-backup --version=2023.05.13-pre --pre

I'll do same to choco-cleaner after this is "signed off"

BTW: IMHO the best way to run choco-cleaner is the PostProcessScript feature of choco-upgrade-all-at or choco-upgrade-all-at-startup. That way it cleans up immediately after all your updates.

bcurran3 avatar May 13 '23 10:05 bcurran3

@bcurran3 hi! I've tested installed the new version with sudo choco install -y choco-package-list-backup --pre, -StartWhenAvailable option is corretly applied to task so i think this option can be added to choco-cleaner now.

soredake avatar Nov 21 '23 10:11 soredake

@bcurran3 I've decided to do the change myself https://github.com/bcurran3/ChocolateyPackages/pull/358

soredake avatar Dec 22 '23 13:12 soredake

Closing this as I am no longer creating or maintaining Chocolatey packages. Sorry, out of my control.

Hopefully you've enjoyed my work and found it useful.

Bella Ciao!

bcurran3 avatar Jan 30 '24 21:01 bcurran3