Add status for non operational hours
This commit is contained in:
1 parent
fcb9f9dbf3
commit
2070cdb30a
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user