Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 39981

Start bash .sh script with parameters on boot?

$
0
0

I have a bash script (.sh) that I need to start on boot but it requires parameters. Manually one can start it by 'bash script.sh -start'

I tried crontab -e with @reboot bash /path/to/script.sh -start
but that didn't work.

So how exactly do you call/start a bash.sh script with parameters on boot?

This is on Ubuntu 12.04

Thanks :)


Viewing all articles
Browse latest Browse all 39981

Trending Articles