1

I googled and all solutions involve root access. Even user jobs in ~/.init require you to first edit some system settings file as root. Is there a userspace solution?

  • 1
    Have you tried @reboot /path/to/program in your crontab ? You can edit crontab with crontab -e – Soren A May 27 at 8:57
2

Assign new cron task, add @reboot parameter to your script/command make it executed once on bootup.

crontab -e

Then, add the cron command.

@reboot /path/to/your/program

Where /path/to/your/program is your desired script/command.

Note that this does not required root access

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.