How to run python script in background after i logout
Tomasz Rola
rtomek at ceti.pl
Sun Jul 24 16:05:06 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 24 Jul 2005, Harlin Seritt wrote:
> I have a remote linux server where I can only access it via ssh. I have
> a script that I need to have run all the time. I run like so:
>
> python script.py &
>
> It runs fine. When I log off ssh I notice that the script died when I
> logged off. How do I make sure it stays running?
Besides at and cron commands (mentioned by the others), have a look at
"nohup", too.
Regards,
Tomasz Rola
- --
** A C programmer asked whether computer had Buddha's nature. **
** As the answer, master did "rm -rif" on the programmer's home **
** directory. And then the C programmer became enlightened... **
** **
** Tomasz Rola mailto:tomasz_rola at bigfoot.com **
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBQuP0fhETUsyL9vbiEQINVACfVvgOcWTr3jmA21gJq24DcVHWNmgAn2tY
JAt0TM0X67bFlD3wRh9TkVeH
=tVam
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list