1--- parse_sched works
2
3  0 * * * * * *
4W127Y2001M0D0h0m0s0
5  127 2001 0 0 0 0 0
6W128Y2001M0D0h0m0s0
7  parse error
8Y2001M0D0h0m0s0
9  0 2001 0 0 0 0 0
10Y2001,2002M0D0h0m0s0
11  0 2001,2002 0 0 0 0 0
12Y2001,2002M0D0h0m0s0A0
13  parse error
14A0Y2001,2002M0D0h0m0s0
15  parse error
160Y2001,2002M0D0h0m0s0
17  parse error
18Y2001,2002aM0D0h0m0s0
19  parse error
20Y2001,2002a0M0D0h0m0s0
21  parse error
22M0h0s0Y2000D0m0
23  0 2000 0 0 0 0 0
24M0h0s0 Y2000D0m0
25  parse error
26--- parse_job works
27@4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
28 4000000000000000 ID1 60 0 W12h0m0s0 just a comment null1 null2
29@8000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
30 8000000000000000 ID1 60 0 W12h0m0s0 just a comment null1 null2
31@0000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
32 0000000000000000 ID1 60 0 W12h0m0s0 just a comment null1 null2
33@000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
34cannot parse @000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2 at :ID1:60:0:W12h0m0s0:just a comment:null1,null2
35@00000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
36cannot parse @00000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2 at :ID1:60:0:W12h0m0s0:just a comment:null1,null2
37@4000000000000000::60:0:W12h0m0s0:just a comment:null1,null2
38cannot parse @4000000000000000::60:0:W12h0m0s0:just a comment:null1,null2 at :60:0:W12h0m0s0:just a comment:null1,null2
39@4000000000000000:ID1:999999999:0:W12h0m0s0:just a comment:null1,null2
40 4000000000000000 ID1 999999999 0 W12h0m0s0 just a comment null1 null2
41@4000000000000000:ID1::0:W12h0m0s0:just a comment:null1,null2
42 4000000000000000 ID1 0 0 W12h0m0s0 just a comment null1 null2
43@4000000000000000:ID1:10:0:W12h0m0s0:just a comment:null1,null2
44 4000000000000000 ID1 10 0 W12h0m0s0 just a comment null1 null2
45@4000000000000000:ID1:60:1:W12h0m0s0:just a comment:null1,null2
46 4000000000000000 ID1 60 1 W12h0m0s0 just a comment null1 null2
47@4000000000000000:ID1:60:999999999:W12h0m0s0:just a comment:null1,null2
48 4000000000000000 ID1 60 999999999 W12h0m0s0 just a comment null1 null2
49@4000000000000000:ID1:60::W12h0m0s0:just a comment:null1,null2
50 4000000000000000 ID1 60 0 W12h0m0s0 just a comment null1 null2
51@4000000000000000:ID1:60:0::just a comment:null1,null2
52 4000000000000000 ID1 60 0  just a comment null1 null2
53@4000000000000000:ID1:60:0:W1Y1900D1M1h0m0s0:just a comment:null1,null2
54 4000000000000000 ID1 60 0 W1Y1900D1M1h0m0s0 just a comment null1 null2
55@4000000000000000:ID1:60:0:W12h0m0s0::null1,null2
56 4000000000000000 ID1 60 0 W12h0m0s0  null1 null2
57@4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null2
58 4000000000000000 ID1 60 0 W12h0m0s0 just a comment null2
59@4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1
60 4000000000000000 ID1 60 0 W12h0m0s0 just a comment null1
61@4000000000000000:ID1:60:0:W12h0m0s0:just a comment
62cannot parse @4000000000000000:ID1:60:0:W12h0m0s0:just a comment at
63@4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,unknown
64cannot parse @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,unknown at unknown
65@4000000000000000X:ID1:60:0:W12h0m0s0:just a comment:null1,null2
66cannot parse @4000000000000000X:ID1:60:0:W12h0m0s0:just a comment:null1,null2 at X:ID1:60:0:W12h0m0s0:just a comment:null1,null2
67@4000000000000000:ID1:a60:0:W12h0m0s0:just a comment:null1,null2
68cannot parse @4000000000000000:ID1:a60:0:W12h0m0s0:just a comment:null1,null2 at a60:0:W12h0m0s0:just a comment:null1,null2
69@4000000000000000:ID1:60a:0:W12h0m0s0:just a comment:null1,null2
70cannot parse @4000000000000000:ID1:60a:0:W12h0m0s0:just a comment:null1,null2 at a:0:W12h0m0s0:just a comment:null1,null2
71@4000000000000000:ID1:60:0a:W12h0m0s0:just a comment:null1,null2
72cannot parse @4000000000000000:ID1:60:0a:W12h0m0s0:just a comment:null1,null2 at a:W12h0m0s0:just a comment:null1,null2
73@4000000000000000:ID1:60:a0:W12h0m0s0:just a comment:null1,null2
74cannot parse @4000000000000000:ID1:60:a0:W12h0m0s0:just a comment:null1,null2 at a0:W12h0m0s0:just a comment:null1,null2
75--- make_name works
76in  @0000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2
77out @0000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:::0
78in  @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,
79out @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1:::0
80in  @4000000000000000:ID1:600:0:W12h0m0s0:just a comment:null1,null2
81out @4000000000000000:ID1:600:0:W12h0m0s0:just a comment:null1,null2:::0
82in  @4000000000000000:ID1:60:100:W12h0m0s0:just a comment:null1,null2
83out @4000000000000000:ID1:60:100:W12h0m0s0:just a comment:null1,null2:::0
84in  @4000000000000000:ID1:60:0:Y126W12h0m0s0:just a comment:null1,null2
85out @4000000000000000:ID1:60:0:Y126W12h0m0s0:just a comment:null1,null2:::0
86in  @4000000000000000:ID1:60:0::just a comment:null1,null2
87out @4000000000000000:ID1:60:0::just a comment:null1,null2:::0
88in  @4000000000000000:ID1:60:0:W12h0m0s0::
89out @4000000000000000:ID1:60:0:W12h0m0s0:::::0
90in  @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2::
91out @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:::0
92in  @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:D1:D3
93out @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:D1:D3:0
94in  @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2::D3
95out @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2::D3:0
96in  @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:D4:
97out @4000000000000000:ID1:60:0:W12h0m0s0:just a comment:null1,null2:D4::0
98--- fill_timespec works
99Sat,Sun 2001-1-1 00:00:00 -> Sat,Sun 2001-1-1 00:00:00
100Sat0 2001-1-1 00:00:00 -> *-*-Sat0 2001-1-1 00:00:00
1012003-03-05 08:05:40 -> 2003-03-05 08:05:40
10203-05 08:05:40 -> *-03-05 08:05:40
10305 08:05:40 -> *-*-05 08:05:40
10408:05:40 -> *-*-* 08:05:40
10505:40 -> *-*-* *:05:40
10640 -> *-*-* *:*:40
107Sat,Sun 05 08:05:40 -> Sat,Sun *-*-05 08:05:40
108Sat,Sun 08:05:40 -> Sat,Sun *-*-* 08:05:40
109Sat,Sun 05:40 -> Sat,Sun *-*-* *:05:40
110Sat,Sun 40 -> Sat,Sun *-*-* *:*:40
1112003-03-05 05:40 -> 2003-03-05 *:05:40
1122003-03-05 40 -> 2003-03-05 *:*:40
1132003-03-05 -> 2003-03-05 0:0:0
11403-05 -> *-03-05 0:0:0
11505 -> *-*-* *:*:05
116Sat,Sun 2003-03-05 -> Sat,Sun 2003-03-05 0:0:0
117--- parse_timespec works
1181970-1-1 00:00:00 -> Y1970M0D1h0m0s0
1191992-02-02 23:59:59 -> Y1992M1D2h23m59s59
1202001-12-31 23:59:59 -> Y2001M11D31h23m59s59
1211970-2-29 00:00:00 -> Y1970M1D29h0m0s0
1222001-06-15 15:00:00 -> Y2001M5D15h15m0s0
123unable to parse date: number too low at 1969-06-15 15:00:00
1242100-12-31 15:00:00 -> Y2100M11D31h15m0s0
125unable to parse date: number too high at 2101-01-01 00:00:00
126unable to parse date: number too low at 0-15 15:00:00
127unable to parse date: unexpected number at -15 15:00:00
128unable to parse date: number too low at 00-15 15:00:00
129unable to parse date: number too high at 13-15 15:00:00
130unable to parse date: number too low at 0 15:00:00
131unable to parse date: bad number at -1 15:00:00
132unable to parse date: number too high at 32 15:00:00
133unable to parse date: number too high at 24:00:00
134unable to parse date: number too high at 60:00
135unable to parse date: number too high at 60
136Sun,Mon,Tue,Wed,Thu,Fri,Sat 2001-06-15 23:00:00 -> Y2001M5D15h23m0s0
137Mon,Tue,Wed,Thu,Fri,Sat 2001-06-15 23:00:00 -> W126Y2001M5D15h23m0s0
138Sun,Mon,Tue,Wed,Thu,Fri 2001-06-15 23:00:00 -> W63Y2001M5D15h23m0s0
139Tue 2001-06-15 23:00:00 -> W4Y2001M5D15h23m0s0
140Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday 2001-06-15 23:00:00 -> Y2001M5D15h23m0s0
141Monday,Tuesday,Wednesday,Thursday,Friday,Saturday 2001-06-15 23:00:00 -> W126Y2001M5D15h23m0s0
142Sunday,Monday,Tuesday,Wednesday,Thursday,Friday 2001-06-15 23:00:00 -> W63Y2001M5D15h23m0s0
143Wednesday 2001-06-15 23:00:00 -> W8Y2001M5D15h23m0s0
144Mon,Thursday *-*-* 15:00:00 -> W18h15m0s0
145unable to parse date: unexpected / or + at /4-*-* 15:00:00
146Mon,Thursday 1970/20-*-* 15:00:00 -> W18Y1970,1990,2010,2030,2050,2070,2090h15m0s0
147Mon,Thursday 1970,2020-*-* 15:00:00 -> W18Y1970,2020h15m0s0
148Mon,Thursday *-1/2-* 15:00:00 -> W18M0,2,4,6,8,10h15m0s0
149Mon,Thursday *-11/2-* 15:00:00 -> W18M10h15m0s0
150Mon,Thursday *-1,2-* 15:00:00 -> W18M0,1h15m0s0
151Mon,Thursday *-*-1/6 15:00:00 -> W18D1,7,13,19,25,31h15m0s0
152Mon,Thursday *-*-2/6 15:00:00 -> W18D2,8,14,20,26h15m0s0
153Mon,Thursday *-*-1,6 15:00:00 -> W18D1,6h15m0s0
154Mon,Thursday *-*-* *:00:00 -> W18m0s0
155Mon,Thursday *-*-* 1,13:00:00 -> W18h1,13m0s0
156Mon,Thursday *-*-* 11/6:00:00 -> W18h11,17,23m0s0
157Mon,Thursday *-*-* 1/6:00:00 -> W18h1,7,13,19m0s0
158Mon,Thursday *-*-* *:1,31:00 -> W18m1,31s0
159Mon,Thursday *-*-* *:0/10:00 -> W18m0,10,20,30,40,50s0
160Mon,Thursday *-*-* *:*:0,30 -> W18s0,30
161Mon,Thursday *-*-* *:*:0/30 -> W18s0,30
162unable to parse date: bad weekday at Thurday *-*-* *:*:0
163unable to parse date: bad weekday at Mo,Thursday *-*-* *:*:0
164unable to parse date: bad weekday at *,Thursday *-*-* *:*:0
165unable to parse date: unexpected number at
166Mon,Thursday  *-*-* *:*:0 -> W18s0
167Mon,Thursday  *-*-*  *:*:0 -> W18s0
168 *-*-* *:*:0 -> s0
169unable to parse date: bad weekday at ,Thursday *-*-* *:*:0
170Wednesday 2001-06-15 23:00:00+15 -> W8Y2001M5D15h23m0s0,15,30,45
171Wednesday 2001-06+1-15+7 23:00:00 -> W8Y2001M5,6,7,8,9,10,11D15,22,29h23m0s0
172--- make_id works
1731
1744
175--- find_next links
176--- find_next works for simple cases
1770000000030000000:ID:3600:0:M0D0h0m0s0::
178now 19960227000000 last 19960226235959  then Wed 1997-01-01 00:00:00
1790000000030000000:ID:3600:0:M0D0h0m0s0::
180now 19960227000000 last 19950101000000  then Wed 1997-01-01 00:00:00
1810000000030000000:ID:2500000:0:D0h0m0s0::
182now 19960227000000 last 19960226235959  then Fri 1996-03-01 00:00:00
1830000000030000000:ID:2500000:0:D0h0m0s0::
184now 19960227000000 last 19950101000000  then Thu 1996-02-01 00:00:00
1850000000030000000:ID:3600:0:s0::
186now 19960227000010 last 19960227000000  then Tue 1996-02-27 00:01:00
1870000000030000000:ID:3600:0:m0s0::
188now 19960227000010 last 19960227000000  then Tue 1996-02-27 01:00:00
1890000000030000000:ID:3600:0:h0m0s0::
190now 19960227000010 last 19960227000000  then Wed 1996-02-28 00:00:00
1910000000030000000:ID:3600:0:D1h0m0s0::
192now 19960227000010 last 19960227000000  then Fri 1996-03-01 00:00:00
1930000000030000000:ID:3600:0:D28h0m0s0::
194now 19960227000010 last 19960227000000  then Wed 1996-02-28 00:00:00
1950000000030000000:ID:3600:0:M2D28h0m0s0::
196now 19960227000010 last 19960227000000  then Thu 1996-03-28 00:00:00
1970000000030000000:ID:3600:0:Y1999M2D28h0m0s0::
198now 19960227000010 last 19960227000000  then Sun 1999-03-28 00:00:00
199--- find_next handles rollovers
2000000000030000000:ID:1:0:h23m59s0::
201now 19960227235959 last 19960227235958  then Wed 1996-02-28 23:59:00
2020000000030000000:ID:1:0:M1D27h23m59s0::
203now 19960227235959 last 19960227235958  then Thu 1997-02-27 23:59:00
204--- find_next handles leap years
2050000000030000000:ID:3600:0:M1D29h0m0s0::
206now 19950227000000 last 19950101000000  then Thu 1996-02-29 00:00:00
2070000000030000000:ID:3600:0:M1D29h0m0s0::
208now 19960227000000 last 19960101000000  then Thu 1996-02-29 00:00:00
2090000000030000000:ID:3600:0:M1D29h0m0s0::
210now 19970227000000 last 19970101000000  then Tue 2000-02-29 00:00:00
2110000000030000000:ID:3600:0:M1D29h0m0s0::
212now 19980227000000 last 19980101000000  then Tue 2000-02-29 00:00:00
213--- find_next handles weekday and day-of-month
2140000000030000000:ID:3600:0:W1M1D29h17m17s17::
215now 19980227000000 last 19980101000000  then Sun 2004-02-29 17:17:17
216--- find_next handles from/to
2170000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
218now 19980227000000 last 19980101000000  then Sat 1998-03-07 04:00:00
2190000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
220now 19980314050000 last 19980101000000  then Sun 1998-03-15 04:00:00
2210000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
222now 19980315050000 last 19980101000000  then Mon 1998-03-16 04:00:00
2230000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
224now 19980513050000 last 19980101000000  then Thu 1998-05-14 04:00:00
2250000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
226now 19980514025959 last 19980101000000  then Sun 1999-03-07 04:00:00
2270000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
228now 19980514035959 last 19980101000000  then Sun 1999-03-07 04:00:00
2290000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
230now 19980514040000 last 19980101000000  then Sun 1999-03-07 04:00:00
2310000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14h4m0s0
232now 19980514045959 last 19980101000000  then Thu 1998-05-14 04:00:00
2330000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
234now 19980514050000 last 19980101000000  then Sun 1999-03-07 04:00:00
2350000000030000000:ID:3600:0:h4m0s0:::M2D7:M4D14
236now 19980514112900 last 19980101000000  then Sun 1999-03-07 04:00:00
237--- find_next handles every
2380000000000000000:ID:3600:0:h4m0s0:::::128
239now 19980227000000 last 19980101000000  then Fri 1998-02-27 04:00:00
2400000000000000000:ID:3600:0::::::128
241now 19980227000000 last 19980101000000  then Thu 1998-02-26 23:02:08
2420000000000000000:ID:3600:0::::::128
243now 19980227000000 last 19980227000000  then Fri 1998-02-27 00:02:08
2440000000000000000:ID:3600:0::::::128
245now 19980227000000 last 19980227000209  then Fri 1998-02-27 00:04:17
2460000000000000000:ID:3600:0:s0:::::128
247now 19980227000000 last 19980227000209  then Fri 1998-02-27 00:05:00
2480000000000000000:ID:3600:0:M5h20s0:::::128
249now 19980227000000 last 19980227000209  then Sat 1998-06-27 20:05:00
250--- scheduleconf works (both user directories given)
251--- scheduleconf works (both user directories given)
252drwx-----T 4       test.dir
253drwx------ 2       test.dir/log
254drwx------ 5       test.dir/user
255drwx------ 2       test.dir/user/commands
256drwx------ 2       test.dir/user/env
257drwx------ 2       test.dir/user/log
258-rwx------ 1       test.dir/log/run
259-rwx------ 1       test.dir/run
260-rwx------ 1       test.dir/user/env/HOME
261-rwx------ 1       test.dir/user/env/LOGNAME
262-rwx------ 1       test.dir/user/env/PATH
263-rwx------ 1       test.dir/user/env/SHELL
264-rwx------ 1       test.dir/user/env/USER
265-rwx------ 1       test.dir/user/log/run
266-rwx------ 1       test.dir/user/run
267prw------- 1       test.dir/user/fifo
268--- scheduleconf works (one user directory given)
269drwx-----T 4       test.dir
270drwx------ 2       test.dir/log
271drwx------ 5       test.dir/user
272drwx------ 2       test.dir/user/commands
273drwx------ 2       test.dir/user/env
274drwx------ 2       test.dir/user/log
275-rwx------ 1       test.dir/log/run
276-rwx------ 1       test.dir/run
277-rwx------ 1       test.dir/user/env/HOME
278-rwx------ 1       test.dir/user/env/LOGNAME
279-rwx------ 1       test.dir/user/env/PATH
280-rwx------ 1       test.dir/user/env/SHELL
281-rwx------ 1       test.dir/user/env/USER
282-rwx------ 1       test.dir/user/log/run
283-rwx------ 1       test.dir/user/run
284prw------- 1       test.dir/user/fifo
285--- uschedule works as expected
286j1
287  schedule: *-*-* 0:0:1
288  last: never
289  next: 2001-09-10 00:00:01
290  grace: may start up to 3600 seconds late.
291j1
292  schedule: *-1,7-* 0:0:2
293  last: never
294  next: 2002-01-01 00:00:02
295  grace: may start up to 3600 seconds late.
296j1
297  schedule: 2002,2004,2007-*-* 0:0:3
298  last: never
299  next: 2002-09-10 00:00:03
300  grace: may start up to 3600 seconds late.
301j1
302  schedule: *-*-* 0:0:4 Only on Sun,Sat
303  last: never
304  next: 2001-09-15 00:00:04
305  grace: may start up to 3600 seconds late.
306j1
307  schedule: *-*-* 0:0:5
308  last: never
309  next: 2001-09-10 00:00:05
310  grace: may start up to 3600 seconds late.
311  count: will run up to 10 times, as long as the time specification matches.
312j1
313  schedule: *-*-* 0:0:6
314  comment: testjob
315  last: never
316  next: 2001-09-10 00:00:06
317  grace: may start up to 3600 seconds late.
318j1
319  schedule: *-*-* 0:0:7
320  last: never
321  next: 2001-10-01 00:00:07
322  grace: may start up to 3600 seconds late.
323  from: *-10-1 0:0:0
324j1
325  schedule: *-*-* 0:0:9
326  last: never
327  next: never
328  grace: may start up to 3600 seconds late.
329  to: 2001-7-1 0:0:0
330j1
331  schedule: *-*-* 0:0:10
332  last: never
333  next: 2002-04-01 00:00:10
334  grace: may start up to 3600 seconds late.
335  from: *-4-1 0:0:0
336  to: *-6-30 23:0:0
337--- uschedule handles weekdays in from/to specs
338uschedule: Weekdays in to specifications are unlikely to work as you expect.
339uschedule: Weekdays in from specifications are unlikely to work as you expect.
340j1
341  schedule: *-*-* 0:0:10
342  last: never
343  next: 2006-04-01 00:00:10
344  grace: may start up to 3600 seconds late.
345  from: *-4-1 0:0:0 Only on Sat
346  to: *-6-30 23:0:0 Only on Fri
347uschedule: Weekdays in from specifications are unlikely to work as you expect.
348j1
349  schedule: *-*-* 0:0:10
350  last: never
351  next: 2001-09-15 00:00:10
352  grace: may start up to 3600 seconds late.
353  from: *-*-* 0:0:0 Only on Sat
354--- uschedule handles bad from/to specs
355uschedule: --to specifications with wildcards need a --from specification, too
356uschedule: to specification contains wildcards after fixed values.
357uschedule: to specification contains wildcards after fixed values.
358--- uschedule handles bad number of arguments
359uschedule: need more arguments. Use the --help option for more information.
360uschedule [options] ID TIMESPEC [...]
361uschedule: need more arguments. Use the --help option for more information.
362uschedule [options] ID TIMESPEC [...]
363--- uscheduleconf handles bad number of arguments
364uscheduleconf: need more arguments. Use the --help option for more information.
365uscheduleconf DIR ACCT LOGACCT [JOBDIR [LOGDIR]]
366uscheduleconf: need more arguments. Use the --help option for more information.
367uscheduleconf DIR ACCT LOGACCT [JOBDIR [LOGDIR]]
368uscheduleconf: need more arguments. Use the --help option for more information.
369uscheduleconf DIR ACCT LOGACCT [JOBDIR [LOGDIR]]
370uscheduleconf: too many arguments. Use the --help option for more information.
371uscheduleconf DIR ACCT LOGACCT [JOBDIR [LOGDIR]]
372--- uschedulecp handles bad number of arguments
373uschedulecp: need more arguments. Use the --help option for more information.
374uschedulecp [options] OLD-ID [NEW-ID]
375uschedulecp: too many arguments. Use the --help option for more information.
376uschedulecp [options] OLD-ID [NEW-ID]
377--- uscheduled handles bad number of arguments
378uscheduled: too many arguments. Use the --help option for more information.
379uscheduled [-d DIR]
380--- uscheduleedit handles bad number of arguments
381uscheduleedit: need more arguments. Use the --help option for more information.
382uscheduleedit [options] ID
383uscheduleedit: too many arguments. Use the --help option for more information.
384uscheduleedit [options] ID
385--- uschedulelist handles bad number of arguments
386uschedulelist: 1: not found
387uschedulelist: 2: not found
388--- uschedulerm handles bad number of arguments
389uschedulerm: need more arguments. Use the --help option for more information.
390uschedulelist [options] ID1 [...]
391--- uscheduleruntimelimit works as expected
392good
3930
394--- uschedule handles --every
395j1
396  schedule: *-*-* 0:0:9
397  last: never
398  next: 2001-09-20 00:00:09
399  grace: may start up to 3600 seconds late.
400  repeat: 1 weeks, 3 days
401