Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit b3982a6

Browse files
authored
Merge pull request #19 from nexxai/main
2 parents cb6a0c6 + 9e15bf9 commit b3982a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ class NativePHP {
128128
let now = new Date();
129129
let delay = (60 - now.getSeconds()) * 1000 + (1000 - now.getMilliseconds());
130130
setTimeout(() => {
131+
console.log("Running scheduler...");
132+
(0, server_1.runScheduler)(apiPort.port, phpIniSettings);
131133
schedulerInterval = setInterval(() => {
132134
console.log("Running scheduler...");
133135
(0, server_1.runScheduler)(apiPort.port, phpIniSettings);

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ class NativePHP {
148148
let delay = (60 - now.getSeconds()) * 1000 + (1000 - now.getMilliseconds());
149149

150150
setTimeout(() => {
151+
console.log("Running scheduler...")
152+
runScheduler(apiPort.port, phpIniSettings);
151153
schedulerInterval = setInterval(() => {
152154
console.log("Running scheduler...")
153155
runScheduler(apiPort.port, phpIniSettings);

0 commit comments

Comments
 (0)