worker mejorado
Some checks failed
build-and-push / build (push) Successful in 1m36s
build-and-push / deploy (push) Failing after 14s

This commit is contained in:
2025-05-14 16:23:36 -06:00
parent 1372535938
commit 0c170bfa1a
4 changed files with 18 additions and 8 deletions

8
worker/cron-worker.js Normal file
View File

@@ -0,0 +1,8 @@
//cron-worker.js just prints the current date and time every 5 seconds
import cron from 'node-cron';
cron.schedule('*/5 * * * * *', () => {
console.log(new Date().toLocaleString());
});