Code: Select all
#!/bin/sh
# This is the crontab script for pisg.
#
# Please change the following path to your pisg-directory.
PISG=~/pisg
PEPISG=~/pepisg
STATS=~/psychostats
# the rest should be kept as is
echo "Starting IRC Stats Processing.."
cd $PISG
./pisg --silent
echo "Completed!"
cd ~/
echo "Starting PE IRC Stats Processing.."
cd $PEPISG
./pisg --silent
echo "Completed!"
cd ~/
echo "Starting Server Stats Processing.."
cd $STATS
nice ./stats.pl
echo "All Jobs Completed!"
: bad interpreter: No such file or directory
i know its something to do with this "#!/bin/sh" but i dont know what to do with it when i remove it and start this script i just get this junk:
[WeOwn@oracle (~)]$ ./stats
: command not found
: command not found
: command not found
Starting KOD IRC Stats Processing..
: No such file or directory/WeOwn/pisg
./stats: line 14: ./pisg: is a directory
Completed!
: No such file or directory/WeOwn/
: command not found
Starting PE IRC Stats Processing..
: No such file or directory/WeOwn/pepisg
./stats: line 20: ./pisg: is a directory
Completed!
: No such file or directory/WeOwn/
: command not found
Starting KOD Server Stats Processing..
: No such file or directory/WeOwn/psychostats
: No such file or directory
All Jobs Completed!
any help would be apreciated :/