modified: HP_printer_555/hp_smart_tank_plus_555_head_clean.ps1
This commit is contained in:
parent
27d7d2d571
commit
ddeef5762f
@ -61,7 +61,7 @@ $actual_time = get-date
|
|||||||
|
|
||||||
# check if hour of running isnt restricted by $running_time_start and $running_time_stop
|
# check if hour of running isnt restricted by $running_time_start and $running_time_stop
|
||||||
if (($actual_time.hour -lt $running_time_start) -and ($actual_time.hour -gt $running_time_stop)) {
|
if (($actual_time.hour -lt $running_time_start) -and ($actual_time.hour -gt $running_time_stop)) {
|
||||||
$logs += log -l_level 0 -l_message "Hours between $running_time_start and $running_time_stop are restricted. EXIT"
|
$logs += log -l_level 0 -l_message "Hours between >= $running_time_start and <= $running_time_stop are restricted. EXIT"
|
||||||
$logs += log -l_level 0 -l_message "Script Stopped"
|
$logs += log -l_level 0 -l_message "Script Stopped"
|
||||||
log_store
|
log_store
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user