ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Running a cron job on an ee template

July 27, 2010 6:34am

Subscribe [2]
  • #1 / Jul 27, 2010 6:34am

    mathalete

    86 posts

    Hi there,

    I’m having trouble setting up a cron job on an ee template.

    Example of command is below.

    Min   H     DM     M     DW     Command
    *    *    *    *    *    /usr/bin/lynx -dump “http://mydomain.co.uk/myTemplates/myScript/”

    The problem that i’m having is that the cron job is pointing to the virtualised directory within expression engine.

    There isn’t an actual directory on my server called ‘myTemplates’, and as such the cron job cannot find the script with the template ‘myScript’ to run it.

    The script within the template ‘myScript’ has to be within EE as it contains EE code.

    I’m guessing thia is a pretty common situation and would appreciate some pointers.

    Cheers
    Peter

  • #2 / Jul 27, 2010 8:35am

    mathalete

    86 posts

    This is now resolved.

    Cheers
    P

  • #3 / Jul 27, 2010 4:36pm

    Ingmar

    29245 posts

    Glad to hear it. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases