Index: openacs-4/packages/cronjob/www/admin/cronjob.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cronjob/www/admin/cronjob.tcl,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/cronjob/www/admin/cronjob.tcl 29 May 2009 09:02:48 -0000 1.6
+++ openacs-4/packages/cronjob/www/admin/cronjob.tcl 29 May 2009 09:11:28 -0000 1.7
@@ -1,5 +1,5 @@
ad_page_contract {
-
+
Cronjobs List and Add Page
@author tom@junom.com
@creation-date 22 Sept 2001
@@ -34,60 +34,61 @@
foreach {value name} [list "\*" "Every Month" 01 January 02 February 03 March 04 April 05 May 06 June 07 July 08 August 09 September 10 October 11 November 12 December] {
if {[string match $mon $value]} {
- append month_option "
+ append month_option "
"
} else {
- append month_option "
+ append month_option "
"
}
}
foreach {value name} [list "\*" "Every Day of Week" 0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday] {
if {"$dayofweek" eq "$value"} {
- append dayofweek_option "
+ append dayofweek_option "
"
} else {
- append dayofweek_option "
+ append dayofweek_option "
"
}
}
foreach {value name} [list "\*" "Every Day" 01 1 02 2 03 3 04 4 05 5 06 6 07 7 08 8 09 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31] {
- if {[string match $day $value]} {
- append day_option "
+ if {[string match $day $value]} {
+ append day_option "
"
} else {
- append day_option "
+ append day_option "
"
-
+
}
}
foreach {value name} [list "\*" "Every Hour" 00 0 01 1 02 2 03 3 04 4 05 5 06 6 07 7 08 8 09 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23] {
- if {[string match $hr $value]} {
- append hour_option "
+ if {[string match $hr $value]} {
+ append hour_option "
"
} else {
- append hour_option "
+ append hour_option "
"
-
+
}
}
-foreach {value name} [list "\*" "Every Minute" 00 0 01 1 02 2 03 3 04 4 05 5 06 6 07 7 08 8 09 9 10 10\
- 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20\
- 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30\
- 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40\
- 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50\
- 51 51 52 52 53 53 54 54 55 55 56 56 57 57 58 58 59 59 ] {
- if {[string match $minute $value]} {
- append minute_option "
+foreach {value name} [list "\*" "Every Minute" \
+ 00 0 01 1 02 2 03 3 04 4 05 5 06 6 07 7 08 8 09 9 10 10\
+ 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20\
+ 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30\
+ 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40\
+ 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50\
+ 51 51 52 52 53 53 54 54 55 55 56 56 57 57 58 58 59 59 ] {
+ if {[string match $minute $value]} {
+ append minute_option "
"
} else {
- append minute_option "
+ append minute_option "
"
-
+
}
}