Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Crontab not working for Oracle Linux 6

JanGLiDec 8 2016 — edited Dec 8 2016

Hi,

My oracle linux version is: 6.8

Kernel Linux: 4.1.12-61.1.10.el6uek.x86_64

This is my script that i want to run.

Name= test.sh

content=mkdir /u01/hyperion/fdmee_custom/WF/test123

These are the things i have tried in crontab:

enter this line at top;

#!/bin/bash

tried this line too:

PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin

tried this line too:

SHELL=/bin/bash

I can't get my script working.

I tried this line in crontab and it was working:

49 20 * * * mkdir /u01/hyperion/fdmee_custom/WF/test123

Kindly guide what to do.

Regards

This post has been answered by Dude! on Dec 8 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2017
Added on Dec 8 2016
16 comments
1,111 views