issue #593 problem with double run of cron