From: minima Date: Sun, 27 Jan 2002 12:49:09 +0000 (+0000) Subject: fixed save command in cron context X-Git-Tag: R_1_50~77 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=61148e50735498a356ffd95b5a79faf1dc6b9d82 fixed save command in cron context --- diff --git a/Changes b/Changes index aaaf54e5..5c25b363 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ +27Jan02======================================================================= +1. make save work in cron context 22Jan02======================================================================= 1. limit spot dupe checking to first 12 characters 13Jan02======================================================================= diff --git a/TODO b/TODO index d07dc01b..cb1f9279 100644 --- a/TODO +++ b/TODO @@ -22,4 +22,5 @@ New Protocol Stuff * split out all protocol elements into objects * move all routing and broadcasting into a separate modules +* conference, topical announces and broadcast talk diff --git a/cmd/Commands_en.hlp b/cmd/Commands_en.hlp index ff8b54f1..41d6313b 100644 --- a/cmd/Commands_en.hlp +++ b/cmd/Commands_en.hlp @@ -1135,7 +1135,7 @@ need to create any directories you want to put stuff in beforehand as well. It is likely that you will want to run these commands in a crontab type situation. You would do that something like:- - 0 0 * * * run_cmd('save /tmp/dxstats echo "DXStat Table", "sh/dxstats"') + 0 0 * * * run_cmd('save /tmp/dxstats "echo DXStat Table", "sh/dxstats"') Note that you still enclose each command with (") characters but you must enclose the entire save command in (') characters. diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 9e07d9e4..d26795c4 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1966,5 +1966,10 @@ sub eph_list } return @out; } + +sub run_cmd +{ + goto &DXCommandmode::run_cmd; +} 1; __END__