cron_start
vw/src/cron_start · 417 B
From the archive vw_1.0.2.tgz
Download the archive « Back to the archive contents
# run this task as a crontab every ten minutes or so in case the unthinkable happens and vw_startup stops.
# Check the startup routine is already running ...
ps -o "%U %c" -ujoker| grep -v grep |grep vw_startup > /dev/null
if test $? -eq 1
then
# LINE BELOW TO BE REMOED!!!
echo "vw_startup NOT running .."
# Boot the start script into being!
/home/joker/vw/src/vw_startup &
fi