10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a cron job that I want to run twice a week, on Tues/Thurs, and I want it to run three times - specifically at 10pm, 11:10pm, and 12:20am respectively.
I "think" the way to do this is to run the following:
00,10,20 22,23,00 * * 2,4 MYCOMMAND
Just wanted to verify this... (4 Replies)
Discussion started by: xdawg
4 Replies
2. Shell Programming and Scripting
Hi friends,
I do not have much thoughts so need any help on the below issue:
I need to create shell script that will find the files & throw an error through job (autosys) when file not found.
Daily we use to receive 3 files from a system.
Obstacles:
1) All 3 files names are same.
2)... (4 Replies)
Discussion started by: tush
4 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
I hope anyone can help me on how to create a watcher-script. The script will act as watcher wherein whenever it will find an error (say the word Error) in a file, it will prompt the user.
Please help!
br,
rymnd_12345 (3 Replies)
Discussion started by: rymnd_12345
3 Replies
4. Shell Programming and Scripting
All,
I know that this will remove a file extension from a file name, but reading on the documentation on how it works confuses me.
${filename%.*}Can anyone explain what exactly is going on here? Filename is the pattern and % says to cut anything that starts with .?
Also, can I run this... (4 Replies)
Discussion started by: markdjones82
4 Replies
5. UNIX for Advanced & Expert Users
I have JIL script like the one below
insert_job:F_SAMPLE
job_type:f
machine:PC001
owner:asla@PC001
watch_file:/home/shah/one/sample.trg
watch_interval:90
alarm_if_fail:1Here my question is, there is a directory one under that file needs to be watched sample.trg..!
but directory one owned... (0 Replies)
Discussion started by: shahnazurs
0 Replies
6. Shell Programming and Scripting
Wow that was annoying, I wrote a huge long entire post out, clicked submit and the damn thing lost my entire post.
Ok, here's what I am needing to do.
Have a cron job run every six days at a random minute and hour ONLY ONCE on that day.
Would this work?
*/30 */3 * * */6 command
... (3 Replies)
Discussion started by: Ashberry
3 Replies
7. Shell Programming and Scripting
Hi
Please help me in this
I want to execute a shell script abc.ksh.
But I only want it to execute if file XYZ is not present.
If file XYZ is present than I want to unix to sleep for 5 Sec and than agaian check for XYX existence.
if it sleeps for more than 30 seconds ( 6 time )I want it to... (3 Replies)
Discussion started by: er_zeeshan05
3 Replies
8. AIX
Guys,
We use AIX 5.3 at our work place. I only in my team have a strange problem of not able run jobs background. Other colleagues are able to run without any problem.
Once I kick off background job using nohup and & command, It immediately stops. The following error I get when I run.
... (2 Replies)
Discussion started by: anandsbr
2 Replies
9. Linux
I created a cron script that runs on the command line but not in crontab. What could be causing it to not run ? (5 Replies)
Discussion started by: dannyd
5 Replies
10. Shell Programming and Scripting
Hello,
I am trying to create a file watcher script to check for a file until certain time and throw a message. can some one please help me if there is script handy ??
Thanks,
Sateesh (1 Reply)
Discussion started by: kotasateesh
1 Replies