User:AAlertBot/Status2

{{#ifeq:{{#invoke:string|find|{{User:AAlertBot/Status}}|FINISHED}}|1|

{{#ifexpr:{{CURRENTTIMESTAMP}}-{{REVISIONTIMESTAMP:User:AAlertBot/Status}}<1000000

|{{y}} Daily run finished without issue! ({{nowrap|As of {{CURRENTTIME}}}}, {{nowrap|{{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}} UTC}}) [{{purge|refresh}}]

|{{n}} Daily run did not start! ({{nowrap|As of {{CURRENTTIME}}}}, {{nowrap|{{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}} UTC}}) [{{purge|refresh}}]

}}

|

{{#ifexpr:{{CURRENTTIMESTAMP}}-{{REVISIONTIMESTAMP:User:AAlertBot/Status}}<10000

|{{y}} Bot is running! ({{nowrap|As of {{CURRENTTIME}}}}, {{nowrap|{{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}} UTC}}) [{{purge|refresh}}]

|{{n}} Bot has crashed! ({{nowrap|As of {{CURRENTTIME}}}}, {{nowrap|{{CURRENTDAY}} {{CURRENTMONTHABBREV}} {{CURRENTYEAR}} UTC}}) [{{purge|refresh}}]

}}

}}

;Current time:

{{CURRENTTIMESTAMP}}

;Status timespace

{{REVISIONTIMESTAMP:User:AAlertBot/Status}}

;Difference

{{#expr:({{CURRENTTIMESTAMP}}-{{REVISIONTIMESTAMP:User:AAlertBot/Status}})}}

;Running

{{#invoke:string|find|{{User:AAlertBot/Status}}|RUNNING}}

;Finished

{{#invoke:string|find|{{User:AAlertBot/Status}}|FINISHED}}