I?m writing a small program that makes a daily report on the result of the scheduled downloads, and generates alerts on certain situations. I will be processing the file WebDown.dat, taking several parameters of each project.
One of the parameters I need, and cannot understand how to "decode" is the Last Start time of the project?s execution, and the Last End time.
In WebDown.dat the info is as follows:
LastStart=182:182:220:137:183:47:227:64:
LastEnd=24:75:126:217:183:47:227:64:
And in the REPORT page, these "translate" to:
Time: 30/07/2007 05:39:14
Elapsed Time: 0 days 00:13:59
What kind of coding are you using to store the LastStart and LastEnd times so I can "translate" them to a date/time I can process??
Thank you very much,
Pablo.
Best regards,
Oleg Chernavin
MP Staff
Say, for example LastStart=182:182:220:137:183:47:227:64:
First I concatenated the bytes to:
LastStart=B6B6DC89B72FE340
And now... how can I convert this to date/time? I'm using Xbase (a variant of the old Clipper DBF language), so I must "decode" it manually using arithmethic or string operations...
Sorry if this goes beyond the scope of the normal support of OEP !!
Thank you very much,
Pablo.
Oleg.
Thank you very much, Oleg.
Oleg.
I have been dealing with this topic about converting time/dates from double-precision to "something viewable", but give up. Couldn't decode it after hours trying...
Would it be too complicated for a future release to add three new lines in WebDown.dat, like as follows:
These two already exist:
LastStart=133:208:6:110:147:211:226:64:
LastEnd=200:196:113:201:149:211:226:64:
These three are new, with the same info, but "viewable"
LastExecDate=09/19/2007
LastExecTime=14:25:33
LastExecElapsed=01:30:33
Best regards,
Pablo.
Oleg.
I uploaded the updated oe.exe file here:
http://www.metaproducts.com/download/betas/OEP2654.ZIP
Oleg.
Thank you very much !
Oleg.
I few days I have installed the new OEP2654.ZIP you generated for me. The new date/time fields work great, and I'm using them succesfully.
I'm now having a weird problem that might have nothing to do with OEP, but I would like to ask it anyway:
I have a few dozens of projects scheduled to download at night. Approximately since I have installed the new OEP build, OEP stops downloading at midnight (00:00 Hours), and at the next morning, I find all the projects in the "STOPPED" state.
I'm trying to find where is the problem. I'm checking the network connection, which I think is the most probable reason... but anyway dropped this to you just for the case it has something to do with OEP...
Thank you very much,
Pablo.
Oleg.
If it also fails, can you please uncheck the Suppress Server Errors box in the Project Properties dialog - Advanced section?
Please let me know how it goes. Thank you!
Oleg.
I repeated the test, but using build 4.9.2654 (the last you compiled for me with LastStarted=).
Tryed also unchecking the flag as you suggested.
The result is allways the same:
- The project starts downloading as usual
- At a certain point (perhaps the end of the download), the project stops downloading files
- Left corner with the "Parsing (xxx)" is fixed (xxx is a certain number of files)
- No files look to be downloading: all are in light gray
- OE icon in the tray-icon zone is rotating, like if it is working, but it is not
- OE interfase responds normally: I can close, exit, etc.
Regards,
Pablo.
Oleg.
If it repeats, I will send you the log.
Thank you,
Pablo.
> OK I see now. Let's do it this way. Please turn on log (Ctrl+W), uncheck Details and Download Progress in the Filters menu of the Log window, all others make checked. Let the download run until it hangs, save the log to a file and send it to me (ZIPped, please).
>
> Oleg.
Oleg.
I'm sending to support @ metaproducts.com a ZIPped file with the LOG, and also a screen picture of OE when hanged.
Regards,
Pablo.
Oleg.
I didn't hear from you... did you receive my e-mail with the log information ??
Regards,
Pablo.
Oleg.
Regards,
Pablo.
Oleg.