![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Process start time not showing correct time | hemangjani | Linux | 2 | 06-18-2009 05:19 PM |
| Start and End times of background processes | stonemonolith | Shell Programming and Scripting | 2 | 06-12-2007 03:50 AM |
| start a program with other user's permission | srikanthus2002 | Shell Programming and Scripting | 3 | 05-21-2007 07:20 AM |
| Start time/end time and status of crontab job | thambi | Shell Programming and Scripting | 3 | 05-16-2007 11:24 AM |
| How do I start a program when I start my Computer? | l008com | UNIX for Dummies Questions & Answers | 1 | 06-23-2002 09:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Start program in background (or start crontab ahead of time)
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by either running the crontab ahead of time, or by making sure that the program is started as if the user was running it himself. How do I do that? Edit: The script already does what i want, except for running the program. ---------- Post updated at 12:06 PM ---------- Previous update was at 11:52 AM ---------- Never mind.. sudo was the answer.. ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|