The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Job scheduler without using cron sharif Shell Programming and Scripting 1 02-13-2007 06:06 AM
Job Scheduler Agent-Based. maquinte UNIX for Advanced & Expert Users 1 01-23-2007 01:15 PM
Help... LP scheduler problem... amao HP-UX 1 10-12-2006 05:16 PM
About Control-M Scheduler uday123 SUN Solaris 0 05-24-2006 08:11 AM
Scheduler in Solaris wadiachmed UNIX for Dummies Questions & Answers 1 07-03-2001 03:23 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-16-2007
Registered User
 

Join Date: Jul 2006
Posts: 6
Scheduler program

Hi,

what i need to do is build my own scheduler program.
I am supposed to display my own prompt. at this prompt i accept a command in the following format.

ls -l start 0:0:10:10 period 10 end 0:0:0:10

now this command should be executed in the background starting at 10 mins and 10 secs and should repeat and fork another ls -l after every 10 seconds since the period is of 10 secs. every ls -l should complete in the end time 10 secs or should be killed. ALL this is to be done in the background.

so my question is how do I start a process in the background from another process and keep it continuing till i end time expires. I also want to return to the foreground immediately after execution of each command. as in

1) $ ls -l start ... (i hit enter and command is thrown in background and keeps executing )
2) $ ps -ef (i am back to the prompt again and ready to accept a new command)
Reply With Quote
Forum Sponsor
  #2  
Old 09-16-2007
Registered User
 

Join Date: Dec 2005
Location: Madison, WI
Posts: 6
Might be a good idea that u do ur school assignments on ur own.
Reply With Quote
  #3  
Old 02-27-2008
Sreejith_VK
Guest
 

Posts: n/a
Nice homework
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0