On Thu, 13 Sep 2007 at 13:15 -0500, [EMAIL PROTECTED] confabulated:

Using FreeBSD 6.2 x86.

I have a script called:

The user is 'foo'.  The password is 'bar'.

What I'm trying to do is run the MyScript.sh command on startup (that way if the box reboots, then this users process also re-starts it's self).


You could put the script in a crontab for that user:

@reboot /bin/sh /home/foo/scripts/MyScript.sh

According to 'man 5 crontab', @reboot runs the script once at startup.

 (_| |
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to