Page 1 of 1

Script not working

Posted: Mon Sep 09, 2019 10:09 pm
by sjoram
I am trying to run two scripts on schedule performing the following.
The schedules appear to work in so far as the script run count increases, but it appears the scripts themselves does not work.
The same commands copied into Terminal work fine.
/system script print
Flags: I - invalid
 0   name="dropmalicious" owner="admin" policy=ftp,read,write
     dont-require-permissions=no last-started=sep/09/2019 19:50:00
     run-count=1
     source=
        /tool fetch address=www.squidblacklist.org host=www.squidblacklist.org mode=https src-path=/downloads/drop.malicious.rsc ;
       import drop.malicious.rsc ;

 1   name="droptor" owner="admin" policy=ftp,read,write
     dont-require-permissions=no last-started=sep/09/2019 19:57:28
     run-count=2
     source=
        /tool fetch address=www.squidblacklist.org host=www.squidblacklist.org mode=https src-path=/downloads/sbl-tornodes.rsc ;
       import sbl-tornodes.rsc ;

Re: Script not working

Posted: Wed Sep 11, 2019 11:36 am
by sjoram
Would this be better moved to the Scripting board?

Re: Script not working

Posted: Wed Sep 11, 2019 10:55 pm
by sjoram
I have updated the script and scheduler to allow all 'policy' permissions. When I have time, I'll work through removing one at a time to identify the problem one.