Add status for non operational hours
This commit is contained in:
parent
fcb9f9dbf3
commit
2070cdb30a
@ -334,6 +334,7 @@ async function runner() {
|
||||
if (currentHourUTC >= 23 || currentHourUTC < 9) {
|
||||
// Continue running the code
|
||||
} else {
|
||||
await chrome.storage.local.set({ "__status": "not operational hours" });
|
||||
isRunning = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user