Skip to content
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

[Bug]: Blockly schedule cron monthly not working #1496

Open
3 tasks done
achimu opened this issue Feb 2, 2024 · 0 comments
Open
3 tasks done

[Bug]: Blockly schedule cron monthly not working #1496

achimu opened this issue Feb 2, 2024 · 0 comments

Comments

@achimu
Copy link

achimu commented Feb 2, 2024

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

Script type

Blockly schedule cron

The problem

the Blockly "timeschedule" cron job "monthly" is not working. After the startdate, the schedule is executed every day.
The schedule wizard says: "on any date of every month at 00:01 from 03/01/2024".

The line in JS is:

schedule2 = schedule('{"time":{"exactTime":true,"start":"00:01"},"valid":{"from":"01.03.2024"},"period":{"months":1}}', async () => {});

From my side, there is something missing if I compare the lines with
-> every week

schedule2 = schedule('{"time":{"exactTime":true,"start":"00:01"},"valid":{"from":"01.03.2024"},"period":{"weeks":1,"dows":"[0]"}}', async () => {});

-> every year

schedule2 = schedule('{"time":{"exactTime":true,"start":"00:01"},"valid":{"from":"01.03.2024"},"period":{"years":1,"yearDate":1,"yearMonth":1}}', async () => {});

iobroker.current.log (in debug mode!)

No response

Version of nodejs

18.17.1

Version of ioBroker js-controller

5.0.17

Version of adapter

7.7.0

@klein0r klein0r added the bug label Feb 5, 2024
@klein0r klein0r added the Blockly label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants