This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

script


How can I execute a script at boot time ?
it's a simple retrieving email script with 'getmail'
I put a line in /etc/rc.d/rc.local calling the script
but it does not execute it ( if I lunch it from bash it does )
There are no messages in /var/log/messagges
I tried with chkconfig 

/usr/sbin/chkconfig.exe --add /bin/startup_retrieve_mail.sh --level 35
/usr/sbin/chkconfig.exe --add startup_retrieve_mail.sh --level 35
/usr/sbin/chkconfig --level 35 startup_retrieve_mail.sh on

but everytime it says 

" error reading information on service /bin/startup_retrieve_mail.sh: No
  such file or directory "

I read man init and inittab, cygwin faq, cygwin manual, searched in
google, in mailing lists.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]