Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-29-2010, 02:35 AM   #1
LQ Newbie
Registered: Jun 2009
Location: Hyderabad
Distribution: Suse (rarely Redhat & Fedora)
Posts: 14

Rep: Reputation: 0
How to add a job to start up as a user?

I need to start a service(which is not a system default service, an installed software it is)at every reboot as a USER only. Could any one suggest how to do it?

Thank you
Old 12-29-2010, 03:13 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296

You could add it to that user's crontab and set @reboot for time indication like this:
@reboot /usr/local/yourcommand
The crontab will get executed even when the user is not logged in, so the program should start after every reboot.

Hope this helps.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BASH: Add cron job to run hourly worm5252 Programming 9 03-26-2010 11:36 AM
add a job to cron.daily pbxuser911 Linux - Server 9 10-29-2009 01:30 AM
Unable to Start Cron Job kwidya Linux - General 4 07-10-2009 08:07 AM
How to add a crontab job in Debian Linux LotharIrausquin Linux - Distributions 2 11-25-2008 07:09 AM
Can you start a job without getting the job number spit back out? BrianK Linux - General 5 12-13-2007 09:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration