[plug] Is there a way to put a job to sleep so it can survive a reboot?

James Devenish devenish at guild.uwa.edu.au
Fri Oct 24 12:33:27 WST 2003


In message <1066965999.10697.31.camel at cbbcsc204a.murdoch.edu.au>
on Fri, Oct 24, 2003 at 11:26:39AM +0800, Bill Kenworthy wrote:
> Is there a way to put a job to sleep so it can survive a reboot?

That could mean a lot of different things, depending on what the "job"
was. I think I know what you mean, though...when you shutdown, the state
of the job in *RAM* is saved and then when you reboot, it is restored.

Probably better to do the standard thing and save your own state data to
disk in a config file or database, then quit the process, then resume
with a new job (using the saved state data) after reboot.

> Some environment it can be run within?

All processes will necessarily disappear between reboots unless you have
some *really* funky hacks, perhaps the checkpointing stuff that Craig
Ringer mentioned a while ago.


_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list