LinuxMCE Forums

General => Users => Topic started by: leboff on September 11, 2007, 09:08:33 pm

Title: startup script
Post by: leboff on September 11, 2007, 09:08:33 pm
I'm trying to run a script that will connect to a synergy server (to share a mouse and keyboard from another computer) but I can't figure out how to get the script to run at boot.  Apparently rc.local does not work. Any help would be appreciated.

Thanks,
leboff
Title: Re: startup script
Post by: gazlang on September 12, 2007, 04:18:36 pm
I have my lcdproc server running on boot by placing a command in the crontab; So long as you can connect to your synergy server by a command in the terminal it should work as a cronjob.

In konsole type sudo crontab -e
then add
@reboot <command>
under the crontab header
Title: Re: startup script
Post by: leboff on September 12, 2007, 04:46:20 pm
worked perfectly thank you!