cronhourly.example update for gdm3

In order to make it work, I took notice of the comment from amielke at https://aur.archlinux.org/packages/aarchup/

I also made the file find by itself if gdm was running.