File: cron.def

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (105 lines) | stat: -rw-r--r-- 2,242 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
suite cron

   clock real  # Need real clock otherwise crons would be complete
   task cron0
      cron 00:25 23:59 00:30
      
   task cron1
      cron -w 0 , 1, 2 -m 5, 6, 7 , 8,9,10      10:00  20:00  01:00  # run every sunday, between May-Aug, every hour between 10am and 8pm

   task cron1_1
      cron -w 0,1,2 -m 9,10  10:00  14:00  01:00  
      
   task cron2
         cron 23:00                              # run every day at 23:00
         
   task cron3
      cron 10:00 20:00 01:00                  # run every hour between 10am and 8pm
      
   task cron4
      cron -w 0,1 10:00                       # run every sunday and monday at 10am
      
   task cron5
      cron -d 10,11,12 12:00                  # run 10th, 11th and 12th of each month at noon
      
   task cron6
      cron -m 1,2,3 12:00                     # run on Jan,Feb and March every day at noon.
      
   task cron7
      cron -w 0,6 12:00
      
   task cron8
      cron -w 0,1,2,3,4,5,6 12:00
      
   task cron9
      cron -w 0 -m 5,6,7,8 10:00 20:00 01:00  # run every sunday, between May-Aug, every hour between 10am and 8pm
   
   task cron10
      cron -w 0,1,2 -d 1,20,24 -m 5,6,7,8 10:00 20:00 01:00  #  


   task cron11
      cron 00:00 23:59 00:01  #  run every minute
      
   family f1
      cron -d 22 12:00
      task t1
      task t2
   endfamily
   family f2
      cron -d 8 12:00
      task t1
      task t2
   endfamily
   
   family t1
      task t1
         cron 00:01
         cron 23:59
         
     task t2
         cron 09:00
         cron 12:00

     task t3
         cron 12:00
         cron 18:00

     task t4
         cron 18:00
         cron 23:00
         
     task t5
         cron 10:00
    task t6
         cron 11:00
    task t7
         cron 12:00
    task t8
         cron 13:00
    task t9
         cron 14:00
    task t10
         cron 15:00
    task t11
         cron 16:00
    task t12
         cron 17:00
    task t13
         cron 18:00
    task t14
         cron 19:00
    task t15
         cron 20:00
    task t16
         cron 21:00
    task t17
         cron 22:00
    task t18
         cron 23:00
    task t19
         cron 23:00
    task t20
         cron 00:00   
   endfamily          
endsuite