Jdk 1.6
This is an open source scheduling system, I will be very happy if it is useful for others. This system is for scheduling operation task program automatically, actually aim for easy and simple usage but with capabilities to schedule heavy work at once and related to each other.
The purpose of system use is to run unix scripting operations, batches and so on. This system is designed using the Java programming language. I only tried Windows 10 but, because of the development environment in this OS. If this system is stable I will try to adapt it to the Unix system. I hope this will continue.
Support scheduling functions and features :
- ap.xml used as preference schedule of task.
- ap.xml in-time editable and auto reloading schedule on live time.
- Support chaining process, in terms call next job process after current job finish.
- Provide Unit Test
- User Interface for possible schedule
- New parameter for job Parameter such like, parameter passing and communication between one job and another job task.
- New parameter for job Condition such like, condition watching file change.
This function is provide WITHOUT Warranty, use your own risk. Basically, this function still on progress made for personally backup itself. I writing using eclipse IDE (Oxygen) Windows 10. Never test in Unix system. But I also target this function to work in UNIX (after I started Unit Test).
Test with Install project on eclipse, configuration config/ap.properties :
- Locating config/ap.xml.example to E:/ap.xml
- Set properties jobpath to E:/ap.xml
- Running ApMain class
- Try change ap.xml time with your actual time for see the job working:
<id>JB00A1</id>
<groupid>JB00A</groupid>
....
<time>13:57</time>
<day></day>- Change command with batch script target :
<command>cmd /c start E:\\script\\JB00A1.bat</command>
<presentCommand>job:JB00A2</presentCommand>- Setup HttpClient for access schedule and logs in user friendly format (default : http://localhost:8080).
Actually, No Difference between command and presentCommand. but presentCommand can use for call another job task after command finish executed. To call another job simply use syntax : job:JOBID
