Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-05 Thread Cameron Simpson
On 04May2020 17:17, ozst...@gmail.com wrote: On Tuesday, 5 May 2020 01:35:42 UTC+10, David Raymond wrote: Not necessarily the cause of your problem, but if you're going to compare dates it should be as objects, or as text as year-month-day. Here you're comparing dates as text in

Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread ozstar1
On Tuesday, 5 May 2020 01:35:42 UTC+10, David Raymond wrote: > Not necessarily the cause of your problem, but if you're going to compare > dates it should be as objects, or as text as year-month-day. Here you're > comparing dates as text in day-month-year format. So January first comes >

Re: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread ozstar1
Many thanks for your help. It is really appreciated. I see both your points and maybe this is where my problems lays. If for example it starts (and it does) at 9.30am then the print is.. streaming It is supposed to wait for the 40 minutes, stop then print this.. Waiting for the next

RE: Is there anything in the script which could cause it to not run its full course please?

2020-05-04 Thread David Raymond
Not necessarily the cause of your problem, but if you're going to compare dates it should be as objects, or as text as year-month-day. Here you're comparing dates as text in day-month-year format. So January first comes before May 4th 2020 "01-01-" < "04-05-2020" ... 04-05-2020