Question: Batch Monitor Program in Linux Using a UNIX/LINUX/UNIX Emulator (mine is Oracle VirtualBox), I need create a console program that can compile and execute programs

Batch Monitor Program in Linux

Using a UNIX/LINUX/UNIX Emulator (mine is Oracle VirtualBox), I need create a console program that can compile and execute programs either by the user entering the name of the program, or automatically executing all of the programs in a directory. The program will essentially simulate the system monitor of a Batch system. The programs are small C language programs, the contents of which don't really matter, but each time a program does some i/0, I need to do a small delay. The programs will reside in a directory called /jobs, and The Batch Monitor program will live in a different directory than the jobs directory

It would look like this,

C:\users\batch (the Batch Monitor Program in here)

C:\users\batch\jobs(the C Programs in here)

  1. The Batch Monitor program needs to give the user the following options
    1. Offer help
    2. List program options
    3. Shutdown
    4. Compile and run all jobs in a specific directory.
    5. Compile and run a specific program
    6. Set jobs directory
    7. List jobs

How do I set up this Batch Monitor program?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!