Index: openacs-4/packages/cronjob/tcl/cronjob-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cronjob/tcl/cronjob-procs.tcl,v
diff -u -r1.4.2.1 -r1.4.2.2
--- openacs-4/packages/cronjob/tcl/cronjob-procs.tcl 9 Oct 2002 00:26:21 -0000 1.4.2.1
+++ openacs-4/packages/cronjob/tcl/cronjob-procs.tcl 20 Jan 2003 07:20:12 -0000 1.4.2.2
@@ -35,7 +35,7 @@
} {
set table "No SQL"
ns_log Notice "Cronjob_id is $cronjob_id"
- db_1row crontab_query $sql
+ db_1row cronjob_query {}
db_release_unused_handles
if {![string match "" $run_sql]} {
set table "
"
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.3.2.1 -r1.3.2.2
--- openacs-4/packages/cronjob/www/admin/cronjob.tcl 9 Oct 2002 05:04:09 -0000 1.3.2.1
+++ openacs-4/packages/cronjob/www/admin/cronjob.tcl 20 Jan 2003 07:20:14 -0000 1.3.2.2
@@ -30,6 +30,8 @@
db_1row cronjob_query ""
+set dayofweek [string trim $dayofweek]
+
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 "