Jobschcduler-programs
所属分类:组合框控件
开发工具:Windows_Unix
文件大小:195KB
下载次数:0
上传日期:2019-04-06 19:48:08
上 传 者:
magfrsa
说明: Job-scheduler is a program that schedules programs to be run
文件列表:
doc\input_file_format.html (7688, 2017-04-11)
include\Command_Line_Interface.hpp (2106, 2017-04-11)
test\Command_Line_Interface_Tester.hpp (1354, 2017-04-11)
include\Cycle_Scheduler.hpp (1548, 2017-04-11)
include\File_Loader.hpp (1426, 2017-04-11)
test\Job_Scheduler_Tester_Group.hpp (1270, 2017-04-11)
include\Logger.hpp (1975, 2017-04-11)
test\Logger_Tester.hpp (1176, 2017-04-11)
include\Manager.hpp (1504, 2017-04-11)
test\Manager_Tester.hpp (1300, 2017-04-11)
include\Net_Listener.hpp (1940, 2017-04-11)
include\Process.hpp (1840, 2017-04-11)
include\Process_Runner.hpp (2146, 2017-04-11)
test\Process_Tester.hpp (1296, 2017-04-11)
include\Process_Type.hpp (1310, 2017-04-11)
test\Ref_Ptr.hpp (2229, 2017-04-11)
include\Scheduler.hpp (2509, 2017-04-11)
test\Scheduler_Tester.hpp (1310, 2017-04-11)
include\Signal_Handler.hpp (1591, 2017-04-11)
include\Socket.hpp (1490, 2017-04-11)
include\Socket_Client.hpp (1653, 2017-04-11)
include\Socket_Server.hpp (1592, 2017-04-11)
test\Socket_Tester.hpp (1631, 2017-04-11)
include\Specified_Scheduler.hpp (1673, 2017-04-11)
test\Test.hpp (1395, 2017-04-11)
test\Test_Group.hpp (1474, 2017-04-11)
test\Test_Unit.hpp (1984, 2017-04-11)
include\Time.hpp (2140, 2017-04-11)
test\Time_Tester.hpp (1260, 2017-04-11)
include\Timer.hpp (2181, 2017-04-11)
src\Timer_Imp.hpp (1185, 2017-04-11)
test\Timer_Tester.hpp (1377, 2017-04-11)
src\Command_Line.cpp (1733, 2017-04-11)
src\Command_Line_Interface.cpp (6254, 2017-04-11)
test\Command_Line_Interface_Tester.cpp (2549, 2017-04-11)
src\Cycle_Scheduler.cpp (2113, 2017-04-11)
src\File_Loader.cpp (3644, 2017-04-11)
test\Job_Scheduler_Tester.cpp (1149, 2017-04-11)
... ...
README
JOB-SCHEDULER 2.0.0
Introduction
------------
Job-scheduler is a program that schedules programs to be run at
their specified times. It gives users several options for scheduling
programs.
You can use telnet program to connect to the port job-scheduler is
listenning for incomming connections on the host computer. Then you
can get information about the current scheduled jobs, add, stop or
start jobs or kill the job-scheduler program. Job-scheduler can also
load input files which contain information about some jobs to be
scheduled. You can read "doc/input_file_format" file to learn how to
write a job-scheduler input file.
Job-scheduler gives you many options for scheduling jobs. You can
make each program run cyclically or only at specified times given in
the input file. You can define a run interval instead of only the
program start time, the program will be run at the start of this
interval and will be killed at the end of the interval (if it is still
running). And also you can tell job-scheduler what to do in the
program's run interval if the program terminates, that is you tell
scheduler to run the program only once, rerun it if it terminates, or
rerun it until its return value equals to zero.
Requirements
------------
This program needs the ZThread library which is downloadable from
"http://www.sourceforge.net/projects/zthread".
Installation
------------
First unpack the package then run "./configrure", "make" and "make
install". See "INSTALL" file for more options.
Usage
-----
To invoke job-scheduler run:
$ job-scheduler [options]
You can provide an input file when invoking job-scheduler to tell it
what jobs it has to schedule. (See doc/input_file_format for more
information about input file format and see below for the appropriate
command line option.)
You can also connect to the job-scheduler program to get information
about the current scheduled jobs, add, stop or start jobs or kill the
job-scheduler program. To connect to it you can run:
$ telnet host_address listening_port
Host_address is the address the computer in which job-scheduler is
running. You can use 127.0.0.1 (localhost) if you want to connect to
the same computer. The listening_port is the port job-scheduler
listens for new connections. This is by default 4037 but you can
change it by using the appropriate option listed below. So if
job-scheduler is running in the same computer and it is using the
default port you can invoke "telnet 127.0.0.1 4037" to connect to it.
You usually want to run job-scheduler as a daemon in the background
by using -b option. Then you can use telnet to connect to the port
job-scheduler is listenning for incomming connections on the host
computer (you can change the default port by using -p option). Then
you can get information about the current scheduled jobs, add jobs,
stop or start jobs or kill the job-scheduler program.
Options
-------
-b, --background
Sends the program to background after startup.
-p, --port port_number
Set the telnet port (default = 4037). You can disable
Network Connections by specifying using 0.
-l, --log-file log_file
Set the log file. Put '-' for standard output.
-i, --input-file input_file
Load the input file. Put '-' for standard input. See
input file format doc/input_file_format for more information.
Feedback
--------
Send your suggestions or bug reports to
.
Developer Information
---------------------
Ali Gholami Rudi .
Copyright
---------
This program is free software and under the terms of GPL (GNU
General Public License). Read the "COPYING" file for more information
about the GPL license.
近期下载者:
相关文件:
收藏者: