-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cron not working for latest release #2080
Comments
As you are able to build your own firmwares, could you try 'git bisect'-ing this for us, to narrow it down to a particular commit? |
I am facing the similar issue. Last commit where cron worked properly for me was c8ac5cf. |
I meet same problem. cron is not working . now I use older version |
@nwf
|
That file is supposed to only be included once because it does things like declare static globals. As it stands, cron doesn't believe time is ticking. Fixes nodemcu#2080
Oh boy. At first blush, this is because
and yet both |
That file is supposed to only be included once because it does things like declare static globals. As it stands, cron doesn't believe time is ticking. Fixes #2080
Thanks for reporting @abhignair. |
That file is supposed to only be included once because it does things like declare static globals. As it stands, cron doesn't believe time is ticking. Fixes nodemcu#2080
Please note that the cron module works using build from branch 2.1.0-master_20170521 but doesn't work using the latest release (master branch) from the cloud build service.
8<------------------------ BUG REPORT -----------------------------------------
Expected behavior
Output using nodemcu firmware from branch 2.1.0-master_20170521.
NodeMCU 2.1.0 build unspecified powered by Lua 5.1.4 on SDK 2.1.0(116b762)
...and so on with output of same format as above with different time every minute on new line.
Actual behavior
Output using nodemcu firmware from the cloud build service.
NodeMCU custom build by frightanic.com
branch: master
commit: b62fae9
SSL: false
modules: cron,file,gpio,net,node,rtctime,sntp,tmr,uart,wifi
build built on: 2017-08-17 06:35
powered by Lua 5.1.4 on SDK 2.1.0(116b762)
...and no further output.
Test code
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
NodeMCU version
The build for which the above code doesn't work is from the master branch from the cloud build website (https://nodemcu-build.com/index.php) so the branch must be 2.1.0-master_20170811.
Please note that my code works for the previous release of branch 2.1.0-master_20170521.
I used Docker to build the previous release.
Hardware
I am using the D1 mini with no special hardware setup.
8<------------------------ END BUG REPORT -------------------------------------
The text was updated successfully, but these errors were encountered: