View Single Post

  #1 (permalink)  
Old 10-03-2007, 04:18 PM
angenet angenet is offline
Junior Member
User
 
Join Date: Oct 2007
My distro: Fedora
Posts: 2
Rep Power: 0
angenet is on a distinguished road
Wink Cron job on Fedora 7

Hi everyone

Hi
I'm trying to setup a cron job to automatically run a script and save the log file. But the cron is not working properly.
When I run the command, the output log file is just blank.
Here is a sample of my Crontab, any help will be much appreciated.
The distro is Linux Fedora 7 64 bit

#####################
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
00 3 * * * root /emu/script/./configupdate.sh >>/emu/log/configupdate.log >/dev/null 2>&1
00 * * * * root /emu/script/./keys.sh >>/emu/logfiles/keys.log >/dev/null 2>&1




Thanks
angenet
Reply With Quote