My scripts are located in /root/bin:
start-p0f.sh
#!/bin/sh
#
# p0f startup script.
#
#
# PURPOSE: To start the p0f process
# Add '-d' to command line for debug information
set -x
# Start p0f
/root/UMThesis/p0f2003/p0f/p0f > /root/UMThesis/p0f2003/output.txt
stop-p0f.sh
#!/bin/bash
#
# p0f stop script.
#
#
# PURPOSE: To stop the p0f process
# Add '-d' to command line for debug information
set -x
# Stop p0f
killall -15 p0f
I tried running cron today on friday, I tried both Fri and 5:
30 13 * * Fri root /root/bin/start-p0f.sh
40 13 * * Fri root /root/bin/stop-p0f.sh
But the cron job will not run.What did I do wrong?
In addition,when I run start-p0f.sh by itself, it is OK.
Also when I run stop-p0f.sh by itself, it says:bash: /root/bin/stop-p0f.sh: Permission denied
What is actually wrong?
This is the detailed description of the problem that I am facing.
Hope someone can help me, please.

Thanks a million