EOD is set for 2800
It may not have been clear in this post, but it's not running at two different points of the day, or the wrong point in the day. EOD runs TWICE at 2800 (4am). Runs yesterdays day.. makes dated dir.... looks happy.. faster terminals come up fine and have right system date and DOB date at bottom...
BUT...Then the terminal 'Term1' (which is the master, and one of the slowest terminals) comes back up after what should be the normal 4 am EOD -- and immediatly goes into processing EOD again - other terminals go into waiting for EOD - if finishes.. quite proud of itself and I know have dated dirs for yesterday, and today (today's of course has no data since nothing was done in that few seconds) Dates in aloha.ini - DOB on screens etc now show tomorrow..system dates on all machines are properly set to today.
I then move everything around.. set system date with either Aloha BOH Gui, or manually editing the aloha.ini in newdata and hit refresh data... everything goes back to normal and is happy (as long as I leave the BAD - now 'blank data' dated dir in the data directory. If I remove it, and refresh data at any point in the day..(they change a specials price for lunch manually for instance) it runs EOD for tomorrow.. orphaning today's 1/2 day...EOD.
If I leave the bad dated dir in there.. it will at least give the error 'dated dir exists' in the EOD log and halt so I don't have to merge days... and I can go through the process again tomorrow. I would just like to stop going through this every morning.
So.. what I am hoping to determine.. is what files/processes trigger EOD.. where on Term1 is some stale old file sitting there... there makes it think it needs to run this second time.. or is there some other file somewhere with a date in it that got set when this screwed up the first time 1.5 weeks ago that keeps getting incremented (Becuase it doesn't ever run a third time... Aloha (and specifically I believe term1) just seem to always think its supposed to be tomorrow.
All timezones/dates are set properly on all 4 terminals and BOH server.