Job scheduler without using cron


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Job scheduler without using cron
# 1  
Old 02-13-2007
Job scheduler without using cron

Hi,
I want to schedule the scripts/batches to run simultaneously. I had all the information in the config (flat)file, which contains script name, time, dependency, path, priority and status etc.,
I want to run the jobs parellelly and some jobs are required to give the input. How can I do this? All these to be logged also.
I don't want put this job as a cron.
# 2  
Old 02-13-2007
Quote:
Originally Posted by sharif
Hi,
I want to schedule the scripts/batches to run simultaneously. I had all the information in the config (flat)file, which contains script name, time, dependency, path, priority and status etc.,
I want to run the jobs parellelly and some jobs are required to give the input. How can I do this? All these to be logged also.
I don't want put this job as a cron.
Am sorry your statements are contradictory
Quote:
scripts/batches to run simultaneously
Quote:
required to give the input
When you do provide input to a program through command line, the interpretor blocks on a read system call waiting for the input from the user, but still how do you expect to run all the process simultaneously.

If your job needs input to be provided by the user; logically you cannot have that in cron.


Possible way I could think of is,

say you have 100 scripts to be executed out of which 10 needs user input

Have a controller script which executes the 100 - 10 in background and the remaining 10 one by one.

The above is just a possible way ! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Program not running from the cron scheduler

Good Afternoon, I have a sh script that the admin added to the cron schedule. It runs fine when I run it manually...but not when scheduled. I added the path that is found for my user to the script. Still no luck. Any ideas what I should look at? Thanks Marty (8 Replies)
Discussion started by: MSpeare
8 Replies

2. UNIX for Advanced & Expert Users

OS Watcher not running with cron scheduler

Hi team, O.S : Oracle Linux Issue : I am facing issue when running OS watcher script from cron scheduler. But when i run the same command manually, its getting executed. Note : I have to press " Enter " button to get out of the blank screen when I execute the script manually. Below is... (1 Reply)
Discussion started by: madhuraju
1 Replies

3. Red Hat

Cron scheduler issue

I am trying to schedule a script in Linux to between 8th and the 31st of each month on Sundays @ 6:50 only and i scheduled it as follows: 50 6 8-31 * 0 ksh /home/cpac/SPID_Files/GetFiles.ksh Which did it run on the 8th on Saturday instead of only Sundays !!! (3 Replies)
Discussion started by: mrn6430
3 Replies

4. UNIX for Advanced & Expert Users

Autosys Scheduler- Running job at particular time

Hi Experts, I am new to Autosys. I created a Autosys box job to run at 10 AM daily. As scheduled, the job starts on time. There is another box job inside the box. I have scheduled it to run at 11 AM but it kicks off automatically with the main job at 10 AM. insert_job: Main-job ... (2 Replies)
Discussion started by: pk_bohra
2 Replies

5. Shell Programming and Scripting

Crontab job scheduler problem

Dear All. I have a scripts which does many task like house keeping, moving file to different location and loading the data into oracle. I run this scripts daliy manually , I decided to put it into cron. I have put the scripts into crantab but the behaviour of the scripts have changed. it... (2 Replies)
Discussion started by: guddu_12
2 Replies

6. Shell Programming and Scripting

Help needed regarding cron job scheduler with CyberArk Password security

Hi All, I have a script which will restart some web server and bring it up again. For that I need to retrieve 3 password from CyberArk (Cyber-Ark - Wikipedia, the free encyclopedia) vault. My question is: Is this possible to schedule the script through cron and automatic password... (0 Replies)
Discussion started by: saps19
0 Replies

7. UNIX for Dummies Questions & Answers

CRON JOB SCHEDULER throwing "option not allowed error"

Hi All, Pardon me if this turns out to be a dumb question. But I am trying to schedule a cron job for a my script which takes input options. So an entry in crontab would be something like: 1 * * * * run_report.sh -o out.csv -m monthly -e somename@email.com > cron_output.log 2> cron_error.log... (3 Replies)
Discussion started by: trueharsh
3 Replies

8. Solaris

CRON Scheduler

I have akorn shell job that I can run manually but when I run via cron it starts and finishes, but does not do what it does when I run it manually. Any ideals on why this is happening? (3 Replies)
Discussion started by: CAGIRL
3 Replies

9. Shell Programming and Scripting

Unix scheduler other than Cron

Do any one know any way of scheduling jobs on Unix without using cron as thats not supported within the company (5 Replies)
Discussion started by: Yziee
5 Replies

10. UNIX for Advanced & Expert Users

Job Scheduler Agent-Based.

Hi Gurus, I'm looking for a real Jobs Scheduler Agent-based. My customer is using cron, but need something a little bit clever, where you could configure chain of process ("script x will run if script y is finished", etc). Of course I know solutions like control-M (from BMC... (1 Reply)
Discussion started by: maquinte
1 Replies
Login or Register to Ask a Question