@stonyx/cron 0.2.1-alpha.1 → 0.2.1-alpha.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/logs/error.log CHANGED
@@ -1,2 +1,4 @@
1
+ [6/15/2026, 12:00:05 PM] Cron job "bad" failed:
1
2
  [1/1/1970, 12:00:01 AM] Cron job "jobErr" failed:
3
+ [6/15/2026, 12:00:05 PM] Cron job "bad" failed:
2
4
  [1/1/1970, 12:00:01 AM] Cron job "jobErr" failed:
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "keywords": [
4
4
  "stonyx-module"
5
5
  ],
6
- "version": "0.2.1-alpha.1",
6
+ "version": "0.2.1-alpha.3",
7
7
  "description": "Cron/job scheduler for Stonyx framework",
8
8
  "main": "src/main.js",
9
9
  "type": "module",
@@ -0,0 +1,9 @@
1
+ /**
2
+ * commonJS Bootstrap loading - Stonyx must be loaded first, prior to the rest of the application
3
+ */
4
+ const { default:Stonyx } = require('stonyx');
5
+ const { default:config } = require('./config/environment.js');
6
+
7
+ new Stonyx(config, __dirname);
8
+
9
+ module.exports = Stonyx;