As far as running a cron every hour, you could do that in cPanel by visiting:
https://your-server.com:2083/frontend/x3/cron/index.html
Under the "Add New Cron Job" >> "Common Settings" area, you'll find a dropdown for "once an hour". Of course, put the full command under the "Command" section. So that's basically the easy way to schedule a task for once an hour.
Interacting with facebook is another issue entirely. I'm sure there are scripts out there that will do that, but if you test your theory directly on facebook, you'll see that it fails there too (example):
Code:
http://www.facebook.com/login.php?email=MYEMAIL&pass=MYPASS
. I think you'll probably need to interact with it using POST instead.
Keep in mind, the
Facebook TOS may forbid this (automated interaction with their network under 3.2 and 3.11), so we can't assist you further. They may dislike what you're doing and disable your account, so I don't recommend it.