You are not logged in.
Pages: 1
I want to run a non-ending script after boot. And I still want to be able to login. So adding the script to rc.local won't fix my problem since the boot process won't finish so that I can login.
Adding the script to "dillons" cron doesn't seem to work either since you cant specify @boot in it. And setting "* * * * *" will result in 1 minutes wait before the script runs.
Does anyone have any good ideas to solve my problem?
Offline
Background it in rc.local?
/path/to/my-script &
Offline
just create a runable script and start it as a daemon!?
Offline
Thank you it worked perfect! Had to redirect output and input for the script to tty but it worked.
Offline
as mentioned you can background it in rc.local, or you can create a custom /etc/rc.d file which will make it a daemon just like any other. there are templates or just copy some existing simple one. i created one for dropbox which is available on the wiki if you'd like to use it as a guide.
/edit. whoops; took too long to craft that response. ignore me.
Last edited by brisbin33 (2009-06-25 14:16:28)
//github/
Offline
You could also install vixie-cron which supports @reboot syntax.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1