2010-07-12 Ramon Novoa <rnovoa@artica.es>

* pandora_agent: changed the module cron configuration token to
          module_crontab.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-07-12 16:35:26 +00:00
parent 9aed18321e
commit 43bdb6d8d3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-07-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: changed the module cron configuration token to
module_crontab.
2010-07-08 Ramon Novoa <rnovoa@artica.es>
* pandora_exec: Do not verify the command to allow pipes and complex

View File

@ -298,7 +298,7 @@ sub read_config (;$) {
} elsif ($action =~ /^\s*=~\s+(\S*)\s+(.*)$/) {
push (@{$module->{'conditions'}}, {'operator' => '=~', 'value_1' => $1, 'command' => $2});
}
} elsif ($line =~ /^\s*module_cron\s+(((\*|(\d+(-\d+){0,1}))\s*){5}).*$/) {
} elsif ($line =~ /^\s*module_crontab\s+(((\*|(\d+(-\d+){0,1}))\s*){5}).*$/) {
$module->{'cron'} = $1;
} elsif ($line =~ /^\s*module_cron_interval\s+(\d+).*$/) {
$module->{'cron_interval'} = $1;