The reason I was looking at standby/restart/restart enigma2 was to get in a temp solution for the epg.dat file not updating. So I created a startup script for cron, then started on scripts to check the state of the box i.e are you in normal use/standby/deep standby, then do a reboot and after the reboot put the box back in the same state.
The scripts that I've thrown together sort of work but in testing I've found that the box doesn't always reboot or restart correctly so you end up with it hanging for which the only solution is to hit the power switch on the back. Which sort of makes the scripts next to useless if the box isn't even going to reboot/restart correctly.
For the crossepg problem, I've also put some debug lines into the code that does the download but from what I've seen so far the logs for a successful and failed epg.dat update look exactly the same so so far haven't established what's going wrong.