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)
- The Batch Monitor program needs to give the user the following options
- Offer help
- List program options
- Shutdown
- Compile and run all jobs in a specific directory.
- Compile and run a specific program
- Set jobs directory
- List jobs
How do I set up this Batch Monitor program?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started