Page 1 of 1
Problem with Scheduler Running Script.. HELP please
Posted: Mon Mar 07, 2011 2:53 am
by 3BABY
Hi Guys,
i have created a script and when i click "Run Script" from inside winbox it works fine.. so i have now created a schedule to run this script.. but its not working.. for testing i have set the interval to 20 seconds.. i can see the run count inside the scheduler window going up.. but its not running the "21_DAILY_REPORT_AK" script..
any help would be much appreciated
Re: Problem with Scheduler Running Script.. HELP please
Posted: Mon Mar 07, 2011 3:15 am
by fewi
Check all the policies required for the script to run scheduled. When in doubt, check them all. According to the screenshot you posted all policy permissions are denied right now (no checkmarks are showing at all).
Re: Problem with Scheduler Running Script.. HELP please
Posted: Mon Mar 07, 2011 3:56 am
by 3BABY
Check all the policies required for the script to run scheduled. When in doubt, check them all. According to the screenshot you posted all policy permissions are denied right now (no checkmarks are showing at all).
Thankyou very much
i ticked the write policy and the scheduler works now... its a pity i couldnt find any documentation on the policy's in the scheduler ..
thanks for your reply
Re: Problem with Scheduler Running Script.. HELP please
Posted: Mon Mar 07, 2011 5:47 am
by 3BABY
just on another note... im having a problem trying to run a script from another script.. i cant seem to work out the "run script XXX" command
i have =>
:local runner 1
:if ([$runner] = 1) do={ system scripts run USAGE_REPORT_TEST1 }
but its not running "USAGE_REPORT_TEST1" script.. any ideas?
Re: Problem with Scheduler Running Script.. HELP please
Posted: Mon Mar 07, 2011 5:51 am
by fewi
Can't say I have tried, but maybe this will work:
:if ([$runner] = 1) do={ /system scripts run [/system scripts find name="USAGE_REPORT_TEST1"] }