Community discussions

MikroTik App
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Scheduler Issue

Wed Sep 27, 2017 10:37 am

So is there a timeout in scheduler?

I can run a script manually with no issue. But if I run it with scheduler it fails with script error: no such item (4).

The script uses fetch to download a 10M file. I have capped the bandwidth at 64k to simulate file downloads on really slow Internet connections.

If I remove the speed cap it works fine. But with it capped it seems to timeout when ran with scheduler.

The script works perfectly fine when I run it manually. It runs a long time since the bandwidth is capped but the file downloads fine. However when run with scheduler it times out around the 4 minute mark long before the file is downloaded.

I have ran it with:
/system script run & also with /execute script with the same result.
 
User avatar
jspool
Member
Member
Topic Author
Posts: 469
Joined: Sun Oct 04, 2009 4:06 am
Location: Oregon

Re: Scheduler Issue

Wed Sep 27, 2017 11:34 am

I just tested it in the ip dhcp-client script area and it works perfectly. So is there any hope for scheduler to work in a non retarded fashion?

Who is online

Users browsing this forum: grayfoxbsd, pellerb and 53 guests