cronjob help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • freesexxwebsite
    Confirmed User
    • Jun 2005
    • 2845

    #1

    cronjob help

    my host dont support cronjobs, so i tried to use pseudo-cron v1.3 ( www.bitfolge.de/pseudocron ) but it also not working .If anyone using this script please guide me to make it work. or suggest me any alternative script(without mysql support) to run cronjobs.


    here is my cofig


    // The file that contains the job descriptions.
    // For a description of the format, see http://www.unixgeeks.org/security/ne...ix/cron-1.html
    // and http://www.bitfolge.de/pseudocron
    $cronTab = dirname(__FILE__)."/cronjobs/crontab.txt";

    // The directory where the script can store information on completed jobs and its log file.
    // include trailing slash
    $writeDir = dirname(__FILE__)."/cronjobs/";

    // Control logging, true=use log file, false=don't use log file
    $useLog = true;

    // Where to send cron results.
    //$sendLogToEmail = "[email protected]";
    $sendLogToEmail = "";

    // Maximum number of jobs run during one call of pseudocron.
    // Set to a low value if your jobs take longer than a few seconds and if you scheduled them
    // very close to each other. Set to 0 to run any number of jobs.
    $maxJobs = 1;

    // Turn on / off debugging output
    // DO NOT use this on live servers!
    $debug = false;
  • 2HousePlague
    CURATOR
    • Jul 2004
    • 14572

    #2
    bump!


    2hp
    tada!

    Comment

    • freesexxwebsite
      Confirmed User
      • Jun 2005
      • 2845

      #3
      thanks for bump,

      Comment

      • freesexxwebsite
        Confirmed User
        • Jun 2005
        • 2845

        #4
        bump for answer

        Comment

        • flashbang
          Confirmed User
          • May 2006
          • 767

          #5
          you put the code in your index.php or whatever that calls this script?



          Your TGP traffic belongs to you again
          |
          X Rated Words & Hard Links

          Comment

          • Nookster
            Confirmed IT Professional
            • Nov 2005
            • 3744

            #6
            Originally posted by flashbang
            you put the code in your index.php or whatever that calls this script?
            I concur. If you have a site with lots of traffic you could put the code in the index and have it execute at the certain times you need the jobs done. I don't know any other way around it if your host doesn't allow them. Maybe you should switch hosts to one that supports them?
            The Best Affiliate Software, Ever.

            Comment

            • ffmihai
              keep walking...
              • Jun 2002
              • 7177

              #7
              if your host does not support cronjobs, change host

              Comment

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

                #8
                Originally posted by ffmihai
                if your host does not support cronjobs, change host
                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

                • toddler
                  Confirmed User
                  • Jun 2002
                  • 1911

                  #9
                  Originally posted by ffmihai
                  if your host does not support cronjobs, change host
                  exactly. what kind of host doesn't support cronjobs?
                  http://www.flickr.com/photos/zoddler/

                  Comment

                  Working...