I am trying to run a crontab job which is set up as follows
$ crontab -l
00 04 * * * /prd/edt/gisactive/bin/extract_gis.csh 2>&1 > /prd/edt/gisactive/log/`date +"%Y%m%d_%H%M"`_gisextract.log
The output produced it like this
-rw-r--r-- 1 gisactiv staff 684 Sep 01 04:00 Mon Sep 1 04:00:00 BST 2008
But I cannot read this and it does not append the log name to end of the file. Is there a problem with my syntax? Thanks any suggestions would be very helpful.
$ crontab -l
00 04 * * * /prd/edt/gisactive/bin/extract_gis.csh 2>&1 > /prd/edt/gisactive/log/`date +"%Y%m%d_%H%M"`_gisextract.log
The output produced it like this
-rw-r--r-- 1 gisactiv staff 684 Sep 01 04:00 Mon Sep 1 04:00:00 BST 2008
But I cannot read this and it does not append the log name to end of the file. Is there a problem with my syntax? Thanks any suggestions would be very helpful.