aggiornamenti vari. prima di VITE

This commit is contained in:
Surya Paolo
2025-02-25 18:13:01 +01:00
parent f8de205cf6
commit 57679fe649
25 changed files with 1595 additions and 708 deletions

View File

@@ -417,7 +417,7 @@ async function mystart() {
}
mycron();
if (!process.env.DEBUG) {
if (!process.env.VITE_DEBUG) {
mycron();
}
}
@@ -546,14 +546,14 @@ function testmsgwebpush() {
// Cron every X minutes
cron.schedule('*/1 * * * *', () => {
// console.log('Running Cron Job');
// if (!process.env.DEBUG) {
// if (!process.env.VITE_DEBUG) {
mycron();
// }
});
// Cron every X minutes
cron.schedule('*/60 * * * *', async () => {
if (!process.env.DEBUG) {
if (!process.env.VITE_DEBUG) {
mycron_30min();
}
});