2012-12-17 114 views

回答

2

指定的開始時間爲0,30,這意味着每30分鐘和星期幾,因爲所有你想要的工作,以日常

/* ----------------- template ----------------- */ 

insert_job: template job_type: c 
box_name: box1 
command: ls -l 
machine: localhost 
owner: [email protected] 
permission: gx,ge,wx,we,mx,me 
date_conditions: 1 
days_of_week: all 
start_times: 0,30 
+2

這是不正確的。正確的命令是:start_mins – JSS

2

運行使用start_mins指定一個小時的特定分鐘到運行這項工作。

E.g.

insert_job: my-job-for-specific-mins 
job_type: c 
command: date 
machine: my-host 
permission: mx 
n_retrys: 0 
date_conditions: 1 
days_of_week: mo,tu,we,th,fr 
start_mins: "05,35" 
description: "Test specific mins of hour" 
std_out_file: /var/tmp/job-name.out 
std_err_file: /var/tmp/job-name.out 
alarm_if_fail: 1 
timezone: London 

指定的工作將在每小時過去5分鐘和35分鐘後運行。