@digipair/skill-cron 0.50.2 → 0.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -10237,10 +10237,11 @@ let CronService = class CronService {
10237
10237
  const planning = lines.map((line)=>JSON.parse(line));
10238
10238
  for (const plan of planning){
10239
10239
  if (plan.time === '@startup' && plan.enabled) {
10240
- await this.startTask(path, plan.digipair, plan.reasoning);
10240
+ if (plan.enabled) {
10241
+ await this.startTask(path, plan.digipair, plan.reasoning);
10242
+ }
10241
10243
  continue;
10242
10244
  }
10243
- console.log('plan', plan);
10244
10245
  const job = new dist.CronJob(plan.time, async ()=>{
10245
10246
  await this.startTask(path, plan.digipair, plan.reasoning);
10246
10247
  }, null, !!plan.enabled, utcOffset);
package/index.esm.js CHANGED
@@ -10229,10 +10229,11 @@ let CronService = class CronService {
10229
10229
  const planning = lines.map((line)=>JSON.parse(line));
10230
10230
  for (const plan of planning){
10231
10231
  if (plan.time === '@startup' && plan.enabled) {
10232
- await this.startTask(path, plan.digipair, plan.reasoning);
10232
+ if (plan.enabled) {
10233
+ await this.startTask(path, plan.digipair, plan.reasoning);
10234
+ }
10233
10235
  continue;
10234
10236
  }
10235
- console.log('plan', plan);
10236
10237
  const job = new dist.CronJob(plan.time, async ()=>{
10237
10238
  await this.startTask(path, plan.digipair, plan.reasoning);
10238
10239
  }, null, !!plan.enabled, utcOffset);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-cron",
3
- "version": "0.50.2",
3
+ "version": "0.50.3",
4
4
  "dependencies": {
5
5
  "cron": "^3.1.7"
6
6
  },