You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.
I'm testing this script with a snapshot time configured as '0000', but it'snt working. The snapshot never are created.
After verify the script, I was left with a doubt with the below code:
if snapshot_time >= str(now_max) and snapshot_time <= str(now) and active_day is True:
Let's suppose that 'now = 0001' and 'snapshot_time=0000'. As 'time_delta = datetime.timedelta(minutes=4)', 'now_max' will be '2357'. In this time the variables are with this values:
snapshot_time = 0000
now = 0001
now_max = 2357
Based on this, the if statement result will be 'false', because the 'snapshot_time' is not greater or equal than 'now_max'.
Can you help me to clarify or to correct this?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I'm testing this script with a snapshot time configured as '0000', but it'snt working. The snapshot never are created.
After verify the script, I was left with a doubt with the below code:
if snapshot_time >= str(now_max) and snapshot_time <= str(now) and active_day is True:
Let's suppose that 'now = 0001' and 'snapshot_time=0000'. As 'time_delta = datetime.timedelta(minutes=4)', 'now_max' will be '2357'. In this time the variables are with this values:
Based on this, the if statement result will be 'false', because the 'snapshot_time' is not greater or equal than 'now_max'.
Can you help me to clarify or to correct this?
Thanks.
The text was updated successfully, but these errors were encountered: