[15:21:49] | <FarmerEd[m]> | Is there a hook or event listener for late tasks? |
[15:26:23] | <mstenta[m]> | There is no trigger that takes place when a log goes from "upcoming" to "late" |
[15:26:35] | <mstenta[m]> | But you could use hook_cron() to check for late tasks |
[15:29:31] | <FarmerEd[m]> | Cool makes sense, I'll look into that. |
[15:31:06] | <mstenta[m]> | https://api.drupal.org/api/drupal/core!core.api.php/function/hook_cron/9... |
[15:33:51] | <FarmerEd[m]> | I've been building towards using Node-Red as a sort of logic engine for performing tasks within farmOS, but I'm starting to get the feeling that by the time I get it working I'm not going to need it as much anyway 😁 |
[15:35:05] | <mstenta[m]> | Haha yea I could see that! Once you get the hang of some basic PHP logic in a farmOS module, you may find it meets a lot of your needs! |
[15:55:36] | <FarmerEd[m]> | I think so, but it won't be a wasted journey either way, it may still be a useful tool for IOT projects, prototyping and testing and I'm literally learning the ins and outs of Drupal/farmOS 😆 |
[15:56:08] | <mstenta[m]> | Oh of course! |
[15:56:43] | <mstenta[m]> | I'm tempted to start using node red for rapid prototyping! |