change * to a
This commit is contained in:
parent
957319f382
commit
66e9d249db
@ -119,7 +119,7 @@ time_t getNextTrigger(Script_t *script, time_t startTime){
|
|||||||
logError("something went wrong when getting next trigger time for '%s'", script->filename);
|
logError("something went wrong when getting next trigger time for '%s'", script->filename);
|
||||||
return 0;
|
return 0;
|
||||||
}else{
|
}else{
|
||||||
logError("trigger was today. rerun to get the real next.%s", "");
|
logWarn("trigger was probely today. retry to get the real next trigger.%s", "");
|
||||||
// set time the the start of the next day
|
// set time the the start of the next day
|
||||||
t.tm_sec = 0;
|
t.tm_sec = 0;
|
||||||
t.tm_min = 0;
|
t.tm_min = 0;
|
||||||
@ -169,7 +169,7 @@ void getSchedule(Script_t *script, char *str){
|
|||||||
if(cmd[0] == 0xff)
|
if(cmd[0] == 0xff)
|
||||||
cmd[0] = ',';
|
cmd[0] = ',';
|
||||||
break;
|
break;
|
||||||
case '*': // set all bits
|
case 'a': // set all bits
|
||||||
script->scheduler[is] = ~0;
|
script->scheduler[is] = ~0;
|
||||||
break;
|
break;
|
||||||
case ',': // list of times
|
case ',': // list of times
|
||||||
|
|||||||
Reference in New Issue
Block a user