2

I have following two line of commands that needs to be run when the computer starts:

killall syndaemon 
syndaemon -i 0.5 -KRd

I created one entry in startup application and added following command:

killall syndaemon & syndaemon -i 0.5 -KRd

But it doesn't get executed.

Tried putting the sleep for few seconds also in the command but no luck.

Jacob Vlijm
  • 83,767
Rajeev Jayaswal
  • 231
  • 2
  • 8

1 Answers1

1

Just add a crontab entry, writing down "@reboot" as the time:

@reboot /usr/local/my_script.sh

Source: Cyberciti