Auto-compilation

I need my EA to recompile itself after a set period of time. Any code for that?

Thank you 

That doesn't make sense.

Do you mean you need it to restart itself periodically?

If so, it most likely means your EA needs fixing