WOL/WOW needs a packet sent to the machine to wakeup. If you do this automaticly over a cron or something else, then it could work.
But beware: It depends on your router and the proper config to receive the packet over the inet (WOW).
Some routers cant handle this, on others you need special tricks because the WOL-packet comes over port 9 and will be droped (WOL is not routable).
But you can realise it over a broadcast over a random port - but not port 9! (if the router is able to handle this and forwards the packet).
I do this with my unraid/plex-server over an Android-app which sends a WOW-broadcast to my ip, the router takes this packet (for example port 65000) and forward it to my unraid-machine on port 9 to wakeup the server - but again, the router must support this procedure!
All in all a "tricky" thing which needs extended network knowledge.
You can also read this article for an additional explanation
http://hacking.elboulangero.com/2015/12/11/wake-on-wan.html