Re: Running a program at system startup



On 08/20/2007 03:00 PM, ArcticFox wrote:
Here's the situation; I have a program that needs to run at system
startup, but there are a few issues with that. First, it must be run
with a certain directory as the working directory. Second it must be run
as the user 'Fox'

I'm no expert, but how about using cron and crontab for user fox? Use
"@reboot' for the start time.

man cron
man crontab

Good luck!

Ralph


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Change in cron policy?
    ... You (sbellon) are not allowed to use this program (crontab) ... I was able to get the users using cron again by touching an empty ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mysterious 60min reboot on net4501
    ... >> Maybe something in the crontab that runs hourly and crashes your system. ... > Cron doesn't run at all. ... To unsubscribe, ...
    (freebsd-current)
  • RE: crontab
    ... - did u restart the cron deamon after you made changes to the crontab? ... if you look in /var/log/cron, do you evern see that cron is trying run the script? ... > did u make executable to your shell script. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Change in cron policy?
    ... Since one week I wasn't able to use crontab by my user accounts. ... You (sbellon) are not allowed to use this program ... I was able to get the users using cron again by touching an empty ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: HOW TO USE C-R-O-N?????
    ... Jerry ... Does anybody can show me how i can use Cron??? ... To unsubscribe, ...
    (freebsd-questions)