Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-21-2004, 10:31 AM   #1
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
log cron job to capture errors if there are

Hi all,

below is what I have in my cron job:

export SDEHOME

sdeversion -o compress -i esri_sde_3 -u sde -p sde

my question is if you run the above command mannualy, you will know whether if it run successfully or not, another word, it will post the run on your screen.

My question is if I put this job into a cron job, how am I suppose to know if it's ran or not, is there any log file or something I can go by so I can check.

Old 05-21-2004, 11:34 AM   #2
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Perhaps you could redirect the output of your command to a text file; then, when you want to read the output, just read the file?

i.e. sdeversion -o compress -i esri_sde_3 -u sde -p sde >> output.txt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cron job? dr_zayus69 Linux - Newbie 14 12-01-2004 07:16 PM
cron job working2hard Programming 6 07-28-2004 10:12 PM
Cron job rajasekarvr Linux - General 4 05-03-2004 06:35 PM
cron job errors existo Slackware 4 01-23-2004 03:40 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 03:30 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration