adding cron UI, but not working yet

bugfix for captcha
This commit is contained in:
JT Smith 2006-02-14 03:48:36 +00:00
parent df6c40df29
commit 32169aebbf
7 changed files with 361 additions and 2 deletions

View file

@ -42,6 +42,7 @@ sub addWorkflow {
$session->config->set("spectreCryptoKey","123qwe");
$session->db->write("create table WorkflowSchedule (
taskId varchar(22) binary not null primary key,
title varchar(255) not null default 'Untitled',
enabled int not null default 0,
runOnce int not null default 0,
minuteOfHour varchar(25) not null default '0',
@ -98,6 +99,7 @@ sub addWorkflow {
$activity->set("title","Delete files older than 24 hours");
$activity->set("storageTimeout",60*60*24);
my $cron = WebGUI::Workflow::Cron->create($session, {
title=>'Delete temp files',
enabled=>1,
runOnce=>0,
minuteOfHour=>"30",