Any Cron Guru's Around That Can Give Some Advice?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HostGladiator
    Confirmed User
    • May 2005
    • 816

    #1

    Any Cron Guru's Around That Can Give Some Advice?

    I've been trying to get this damn thing installed on my server with putty SSH client for the last 8 hours and it keeps telling me this: "bigjaysbabes.com/cgi-bin/tgp/cron.txt" :2: "bad minute" errors in crontab file, can't install.

    Here is the file that i've been using:
    # Rebuild pages once per day, selecting new galleries from the database
    00 8 * * * /bigjaysbabes.com/cgi-bin/tgp/cron.cgi --build-with-new

    # Rebuild pages every 20 minutes, only resorting them
    0,20,40 * * * * /bigjaysbabes.com/cgi-bin/tgp/cron.cgi --build

    I've played with the minutes by changing them to 0 and 01 for the first line and tried 20 and 20,40 for the second line.

    Anyone have any suggestions, maybe somethings screwed up in my commands? Any help would be appreciated..
    HostGladiator- For All Your Hosting Needs!
    Linux Virtual Hosting, Budget VPS, Premium VPS and Dedicated Server Hosting
    24/7/365 Support- [email protected]
  • HostGladiator
    Confirmed User
    • May 2005
    • 816

    #2
    Bumpity Bump
    HostGladiator- For All Your Hosting Needs!
    Linux Virtual Hosting, Budget VPS, Premium VPS and Dedicated Server Hosting
    24/7/365 Support- [email protected]

    Comment

    • Spudstr
      Confirmed User
      • Jan 2003
      • 2321

      #3
      try..
      * 8 * * * /bigjaysbabes.com/cgi-bin/tgp/cron.cgi --build-with-new
      Managed Hosting - Colocation - Network Services
      Yellow Fiber Networks
      icq: 19876563

      Comment

      • HostGladiator
        Confirmed User
        • May 2005
        • 816

        #4
        Originally posted by Spudstr
        try..
        * 8 * * * /bigjaysbabes.com/cgi-bin/tgp/cron.cgi --build-with-new
        Tried that one too.
        HostGladiator- For All Your Hosting Needs!
        Linux Virtual Hosting, Budget VPS, Premium VPS and Dedicated Server Hosting
        24/7/365 Support- [email protected]

        Comment

        • babsy
          Confirmed User
          • Mar 2006
          • 282

          #5
          how are you editing it? crontab -e?

          CASH APARTMENT V2 IS HERE!
          NATS POWERED, 60-70% ON ALL REBILLS, FREE CONTENT, MGPS, FHGS, RETAINING MEMBERS NETWORK!
          A SIMPLE NO B.S PROGRAM - ICQ 239 806 698

          Comment

          • mrthumbs
            salad tossing sig guy
            • Apr 2002
            • 11702

            #6
            * 8 * * * /bigjaysbabes.com/cgi-bin/tgp/cron.cgi --build-with-new

            should def. work. Maybe the --build-with-new is causing trouble?

            Comment

            • babsy
              Confirmed User
              • Mar 2006
              • 282

              #7
              also, is the cgi set to 755? if the file isn't set to allow execute permissions for the user running the cron, that may cause unexpected and unusual behaviour.

              CASH APARTMENT V2 IS HERE!
              NATS POWERED, 60-70% ON ALL REBILLS, FREE CONTENT, MGPS, FHGS, RETAINING MEMBERS NETWORK!
              A SIMPLE NO B.S PROGRAM - ICQ 239 806 698

              Comment

              • woj
                <&(©¿©)&>
                • Jul 2002
                • 47882

                #8
                you probably need full path too...
                Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                Comment

                • Lycanthrope
                  Confirmed User
                  • Jan 2004
                  • 4517

                  #9
                  TGP Rotator?

                  Everything looks fine except for maybe your paths.

                  Depending on how your server is set up, it should be something like

                  /home/account/domain.com/cgi-bin/...

                  or

                  /home/account/public_html/cgi-bin/... etc.

                  you need the absolute path to the file to run.

                  Comment

                  • HostGladiator
                    Confirmed User
                    • May 2005
                    • 816

                    #10
                    Thanks for the replies. It was my path name, i didn't put the /home/account/ in front of the domain/cgi-bin/tgp/cron.cgi
                    All fixed now though... thanks again
                    HostGladiator- For All Your Hosting Needs!
                    Linux Virtual Hosting, Budget VPS, Premium VPS and Dedicated Server Hosting
                    24/7/365 Support- [email protected]

                    Comment

                    Working...