Cron job
I am going to upgrade oracle database and hence I want to stop cron job before upgrade and then reenable the same cronjob.I have below script for this job.Please let me know whether this script will work or needs to be modified and what to be modified?
#-----------------------#
#Cron Before Upgrade#
#------------------------#
30 00 * * * /dboracle/admin/dba/scripts/ixbs-cron/cron.ksh > /dboracle/admin/dba/scripts/ixbs-cron/cron.log 2>&1
##SCRIPT TO CHANGE THE CRON BEFORE THE UPGRADE####
####Version 1.0####
export CRON_DIR=/dboracle/admin/dba/scripts/ixbs-cron
cd $CRON_DIR
pwd
##Take Backup of the Existing Crontab##
crontab -l > cronorig