Running python script before user login

Mahmood Naderan nt_mahmood at yahoo.com
Sun Aug 22 11:13:14 CEST 2010


>Specify exactly how it's not working.
I have wrote a script to send my ip address to an email address. It does work 
when I am login (python sendip.py). I then followed the procedure in 
https://help.ubuntu.com/community/RcLocalHowto. However after restart, no email 
is sent.

 
// Naderan *Mahmood;




________________________________
From: Chris Rebert <clp2 at rebertia.com>
To: Mahmood Naderan <nt_mahmood at yahoo.com>
Cc: python mailing list <python-list at python.org>
Sent: Sun, August 22, 2010 1:28:45 PM
Subject: Re: Running python script before user login

On Sun, Aug 22, 2010 at 1:52 AM, Mahmood Naderan <nt_mahmood at yahoo.com> wrote:
> I have wrote a python script and want to run it before user login. To do
> that, I have added it to the ubuntu startup file (init.d). However it seems
> that the script doesn't work.

Specify exactly how it's not working.

Cheers,
Chris
--
More details = Better assistance



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100822/976b8b7c/attachment.html>


More information about the Python-list mailing list