Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Help with Cron Jobs

Discussion in 'General Discussion' started by tanjiajun34, May 5, 2010.

  1. tanjiajun34

    tanjiajun34 Registered

    May 5, 2010
    Likes Received:
    Trophy Points:
    I want to it load a page in Facebook in every 1 hour, how can I do that by using a web hosting's cron job function.

    I having problems with how to make the server login my Facebook account?
    I tried to use Login | Facebook

    but it just don't work.
  2. cPanelJamyn

    cPanelJamyn Social Engineer
    Staff Member

    Jan 29, 2009
    Likes Received:
    Trophy Points:
    As far as running a cron every hour, you could do that in cPanel by visiting:

    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):

    . 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.

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice