Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cron jobs not running

jh_ellisFeb 10 2014 — edited Feb 15 2014

Hi

I am using linux 5.x

(

uname -r

2.6.18-348.16.1.0.1.el5PAE

)

I have 2 crontab jobs set up as following .

cat backup_confluence.sh

#!/bin/bash

# bash shell script to backup confluence backups to bccpfr

# Schedule this script after the backups are performed that day

#

# Setup the environment for the bourne-again shell

. ./.bash_profile

#

# Copy the daily backups for confluence

find /usr/share/confluence/data/backups -mtime -1 \! -type d -exec ls {} \; -exec scp {} bccpfr:/usr/backup/confluence \;

second

cat  backup_jira.sh

#!/bin/bash

# bash shell script to backup jira backups to bccpfr

# Schedule this script after the backups are performed that day

#

# Setup the environment for the bourne-again shell

. ./.bash_profile

#

# Copy the daily backups for jira

find /usr/share/jira/backups -mtime -1 \! -type d -exec ls {} \; -exec scp {} bccpfr:/usr/backup/jira \;

cron as following

$ crontab -l

13 06 * * * /home/lsg/backup_jira.sh

18 06 * * * /home/lsg/backup_confluence.sh

Issue

Both the above .sh are running properly when executed  manually but they are not running automatically at the given time crontab job.

Kindly help me on this issue.

many thanks

J

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2014
Added on Feb 10 2014
8 comments
5,399 views