hcron run does not seem to be working on hcron-dev1
Issue #1
closed
Hi I am having trouble executing hcron run to test my event…
olh001 at hcron-dev1 in ~/.hcron/hcron-dev1.science.gc.ca/events/surge_monitoring
$ hcron run . 202002231200 202002240000
2020-02-23T12:00:00|start-logging|
2020-02-23T12:00:00|message||message=initializing events list.|type=info
2020-02-23T12:00:00|message||message=loading events.|type=info
2020-02-23T12:00:00|message||message=could not load events.|type=error
2020-02-23T12:00:00|load-events|olh001|elapsed=0.001072|naccepted=0|nevents=0|nrejected=0|ntemplates=0
2020-02-23T12:00:00|start||version=1.4
2020-02-23T12:00:00|work||count=0|elapsed=0.000016
error: unexpected error
It would be nice to have a debug option to print that unexpected exception.
Thanks
Comments (7)
-
-
reporter Thanks for your reply, it does not seem to work:
olh001 at hcron-dev1 in ~/.hcron/hcron-dev1.science.gc.ca/events/surge_monitoring $ hcron run ~/.hcron/hcron-dev1.science.gc.ca/events 202002231200 202002240000 2020-02-23T12:00:00|start-logging| 2020-02-23T12:00:00|message||message=initializing events list.|type=info 2020-02-23T12:00:00|message||message=loading events.|type=info 2020-02-23T12:00:00|load-events|olh001|elapsed=0.038241|naccepted=3|nevents=3|nrejected=0|ntemplates=0 2020-02-23T12:00:00|start||version=1.4 2020-02-23T12:00:00|queue|olh001|eventchain=/surge_monitoring/rdsps_tides_monitoring.hcron|eventname=/surge_monitoring/rdsps_tides_monitoring.hcron|jobgid=5e5675ba0000|jobid=5e5675ba0000|pjobid=5e5675ba0000|queuetime=2020-02-26 13:42:18.297269|schedtime=2020-02-23 12:00:00|triggername=clock|triggerorigin=hcron-run 2020-02-23T12:00:00|activate|olh001|eventchain=/surge_monitoring/rdsps_tides_monitoring.hcron|eventname=/surge_monitoring/rdsps_tides_monitoring.hcron|jobgid=5e5675ba0000|jobid=5e5675ba0000|pjobid=5e5675ba0000|triggername=clock|triggerorigin=hcron-run 2020-02-23T12:00:00|notify-email|olh001|addrs=oleksandr.huziy@canada.ca|eventname=/surge_monitoring/rdsps_tides_monitoring.hcron 2020-02-23T12:00:00|done|olh001|eventname=/surge_monitoring/rdsps_tides_monitoring.hcron|jobgid=5e5675ba0000|jobid=5e5675ba0000|nexteventnames=|nexteventtype=None|nnextevents=0|pjobid=5e5675ba0000 2020-02-23T12:00:00|work||count=1|elapsed=0.002267 error: unexpected error
-
reporter Maybe this is not the place, but recently I was looking for the documentation (for our student) with the new syntax
hcron command
but could not find it. Is it available from somewhere?
Thanks
-
The “unexpected error” encountered by
hcron run
is because of a bug. This is fixed in v1.5 which is coming out very shortly. -
From the expl.info site:
- https://expl.info/display/HCRON/Documentation
- the latest guide is at https://expl.info/display/HCRON/hcron+Guide
-
reporter Thank you John:
Can I close the issue?
Have a nice day
-
- changed status to closed
- Log in to comment
Hi,
Try calling by specifying the actual “events” directory as: