Open amtdas opened 4 years ago
This is beyond the scope of rig. We don't run a service of any kind, as rig
is an ad-hoc utility. Restarting prior jobs after a boot would require state tracking and an on-boot service to kick off those jobs again.
It is also highlighted in the README for this repo: Rigs do not persist through reboots.
Ack. Is it a suitable RFE? A mechanism to rig-save
all the active triggers whenever new triggers are added.
Hmm, it is definitely worth exploring. I could see a potential use case where a user does a rig save
or somesuch, and then a rig restore
at a later date, however I'm having trouble seeing this as a widely used feature.
What could be built off from this however is some sort of template structure - a kind of recipe-style approach where most (all?) of the details are already pre-filled and a user just needs to populate/override specifics.
Let's suss this out a bit more - if it's something that could potentially be used even somewhat frequently then it's worth the investigation. In any event, it is likely to be a long-term RFE.
Thanks for detailing it. Above comment is something I too have similar understanding about future-feature . I see it as highly useful where rig triggers are scheduled more in numbers. I will mark it rfe. Thank you.
Observation : If the system is rebooted, all the active rig triggers with status as 'Running' are lost. Expectation : All the active rig triggers should be restored once system reboot is done.
In above scenario, rig id(qibit) triggered kdump once system load avg was 6 and rebooted the system. vmcore is generated as per expectation successfully, but all other active rig triggers are lost. Similarly, whenever system #reboot is executed all the rig jobs are lost.