Can someone help me with cron job formatting?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    Can someone help me with cron job formatting?

    I am trying to get this Cron Job to work, and I thought I had it and it ended up spitting out this error

    GET: not found

    here is the job:

    Code:
    GET http://www.siteurl.com/members/forum/mods/netclectic/find_input/includes/news_insert.php > /dev/null
    is something wrong in that?

    this is a phpbb mod that publishes RSS feeds as topics in the forum
  • devilspost
    Confirmed User
    • Feb 2004
    • 3980

    #2
    Link to MOD?

    Brothels and Escorts Worldwide.

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      http://www.phpbb.com/phpBB/catdb.php...load&id=816665

      Comment

      • ddfGandalf
        Confirmed User
        • Feb 2005
        • 534

        #4
        I might be wrong on this one, but why not just simply

        /usr/local/bin/php (or depending on your echo `which php`

        absolutepathofyourphp/members/forum/mods/netclectic/find_input/includes/news_insert.php 2> /dev/null

        If its local.
        Otherwise wget it?

        Comment

        • Jace
          FBOP Class Of 2013
          • Jan 2004
          • 35562

          #5
          Originally posted by ddfGandalf
          I might be wrong on this one, but why not just simply

          /usr/local/bin/php (or depending on your echo `which php`

          absolutepathofyourphp/members/forum/mods/netclectic/find_input/includes/news_insert.php 2> /dev/null

          If its local.
          Otherwise wget it?
          'you lost me...i am not the most linux proficient

          Comment

          • ddfGandalf
            Confirmed User
            • Feb 2005
            • 534

            #6
            100646962 contact me

            Comment

            • s9ann0
              Confirmed User
              • Sep 2001
              • 4873

              #7
              erm GET ?
              try fetch or wget instead of GET

              u lamer

              Comment

              • Jace
                FBOP Class Of 2013
                • Jan 2004
                • 35562

                #8
                shit, here is the mod, that other link is wrong

                http://www.phpbb.com/phpBB/viewtopic.php?t=42364

                Comment

                • everestcash
                  Confirmed User
                  • Apr 2002
                  • 2194

                  #9
                  use wget better,
                  seems like you don't have the GET tool on your server.

                  Comment

                  • com
                    Confirmed User
                    • Aug 2003
                    • 4541

                    #10
                    first off how often does it need to run, to run every minute (assuming the script is on your local server you would put:
                    */1 * * * /your/path/to/php /full/path/to/members/forum/mods/netclectic/find_input/includes/news_insert.php >/dev/null 2>&1


                    Otherwise, if it's on a foreign server, which wouldn't make sence make /your/path/to/php /your/path/to/curl or lynx
                    Last edited by com; 02-08-2006, 04:56 PM.

                    Real. Professional. Hosting.
                    .:Expect Nothing Less:.
                    320-078-843 :: www.realprohosting.com :: [email protected]

                    Comment

                    • devilspost
                      Confirmed User
                      • Feb 2004
                      • 3980

                      #11
                      It looks bad ass

                      > Does it make a RSS feed?
                      No, although there is a companion mod which does. See [BETA] FIND - Forum Integrated News Delivery - Output

                      > or is it to put an RSS feed onto a forum page?
                      Yes, kind of. It doesn't just display the feed on your page, it enters the contents as topics in your forums.

                      Brothels and Escorts Worldwide.

                      Comment

                      Working...