On Thursday, 2014-04-17 at 19:22:33 -0300, Emiliano Vazquez wrote:
> Hi guys i'm running BARRIER BREAKER (Bleeding Edge, r40511) on a
> TP-LINK TL-WR1043ND

> I'm stuck on this.

> I need to run a cronjob every 60 seconds.

> This is my crontab:
> _______________________________________
> # cat /etc/crontabs/root
> */1 * * * * /bin/bash /root/myscript.sh
> ----------------------------------------------------

> The cron is executed but not every minute! I get the first 2
> crontabs OK but the third crontab get execute 120 seconds later.
> The rest of cron jobs execute every 120 seconds forever. If i
> restart cron i get the same symptom.

Strange. I get this from logread on Trunk r40380:

Fri Apr 18 13:11:34 2014 cron.info crond[2234]: crond: crond (busybox 1.19.4) 
started, log level 8
Fri Apr 18 13:12:01 2014 cron.info crond[2234]: crond: USER root pid 2242 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:13:01 2014 cron.info crond[2234]: crond: USER root pid 2250 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:14:01 2014 cron.info crond[2234]: crond: USER root pid 2258 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:15:01 2014 cron.info crond[2234]: crond: USER root pid 2262 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:16:01 2014 cron.info crond[2234]: crond: USER root pid 2265 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:17:01 2014 cron.info crond[2234]: crond: USER root pid 2268 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:18:01 2014 cron.info crond[2234]: crond: USER root pid 2271 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:19:01 2014 cron.info crond[2234]: crond: USER root pid 2274 cmd 
/bin/bash /root/myscript.sh
Fri Apr 18 13:20:01 2014 cron.info crond[2234]: crond: USER root pid 2278 cmd 
/bin/bash /root/myscript.sh
... etc ...

> Is this behaviour ok?

No it isn't. Did you get your information from the log or from something
your script does?

HTH,
Lupe Christoph
-- 
| The politician's syllogism:                                            |
|     We must do something                                               |
|     This is something                                                  |
|     Therefore, we must do this.                                        |
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to