[wplug] Quick script/SU(or SUDO) question
Vance Kochenderfer
vkochend at nyx.net
Thu Jul 13 20:53:53 EDT 2006
Oh, and if you can use cron jobs, you could just have it run the
script every 10 minutes or so, and you wouldn't have to worry
about granting others permissions to your directory/files.
In that situation, you'd probably want to remove the echo
statements. Maybe put something like 'echo "Restarted MUD program
on $(date)" >> $HOME/mudlogfile' after '$myprog &' to give you a
record of restarts.
Vance Kochenderfer | "Get me out of these ropes and into a
vkochend at nyx.net | good belt of Scotch" -Nick Danger
More information about the wplug
mailing list