panel icon indicating copy to clipboard operation
panel copied to clipboard

Scheduling: Waiting for completion of previous task

Open tinyoverflow opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe. I'm creating backups of my servers with the backup system every morning. Unfortunately, the current implementation of schedules doesn't allow for data consistency.

Describe the solution you'd like As a panel client, I would like to be able to decide to either delay a task by some amount of seconds, or to wait until the previous task completes or gets to a predefined state. This is especially useful for data consistency in backups as it would allow to stop the server completely, only then start the backup and start the server again only when the backup was completed.

I said "or gets to a predefined state" earlier. With that I specifically mean backups: When using the S3 adapter, uploading can take some time, depending on various things. The server can be started once the backup file has been created. It doesn't need to be offline for the uploading process, therefore waiting for completion results in unecessary downtime.

Describe alternatives you've considered I've considered using manual delays between the tasks. While this works, it doesn't scale well and it has to be adjusted everytime the server grows. Another option would be to just use big delays from the beginning, but that would mean an unecessary downtime.

tinyoverflow avatar Dec 13 '20 12:12 tinyoverflow

This is a bit more than an enhancement @schrej (at least in terms of work). I foresee a lot of complexity with signaling between Wings and the Panel for a lot of these.

DaneEveritt avatar Dec 13 '20 17:12 DaneEveritt

Duplicate of https://github.com/pterodactyl/panel/issues/2222 favoring this since you have an account still.

DaneEveritt avatar Jan 10 '21 20:01 DaneEveritt

Hi Dane, is this a WIP?

jack3898 avatar Apr 08 '21 20:04 jack3898

Any news on this?

aglarcz avatar Aug 25 '21 17:08 aglarcz

Any news on this?

gdias1992 avatar Apr 19 '24 08:04 gdias1992