Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End GoDaddy and Cron jobs…help needed

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #192015
    kamaboko
    Participant

    Hello,

    I have a budget shared hosting account on GoDaddy. I’ve been tyring to run a cron job, but without any luck. Assuming the following, how would I set this thing up?

    1. I’m not using a home server. Everything is on GD.
    2. Folder structure
      home/username/
      +public_html
      -all documents under public_html(just to get the cron running for now)

    GD doesn’t offer support for cron jobs. Lovely. To date I’ve tried the following, and all have failed:

    /usr/local/bin/php -q /home/yourCpanelUsername/public_html/cronjob.php

    /usr/bin/php -q /home/yourCpanelUsername/public_html/cronjob.php

    php /home2/yourCpanelUsername/public_html/cronjob.php

    wget webaddress.com/nletter/email_blast.php

    Much thanks in advance,
    K

    #192149
    Ilan Firsov
    Participant

    Echo out __DIR__ or __FILE__
    I have a site at Godaddy and the file path looks like this:
    /var/chroot/home/content/[random numbers]/[more random numbers]/html
    The random numbers correspond to your user id or something like that

    #192185
    kamaboko
    Participant

    Hello Ilan,

    Thank you for your suggestion. I’ll give it a shot.

    K

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.