Jack Barnett wrote:
> Using FreeBSD 6.2 x86.
> I have a script called:
> /home/foo/scripts/MyScript.sh
> 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).
> thoughts?

Looks like a good job for a user crontab:

Login as the foo user, type:

crontab -e

Insert the line:

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

Save, exit, you are done. Look at man 5 crontab for more details and
possible caveats.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to