Is This Possible??

Discussion in 'Programming' started by DomainKing, Oct 2, 2008.

Thread Status:
Not open for further replies.
  1. #1
    Hey guys,

    I currently run a video streaming website that is run through adultwatch script.

    However, I am having difficulty programming the cron job to pull media from other established websites.

    Can someone enlighten me on how to program a cron job to do this?

    Thanks,
     
    DomainKing, Oct 2, 2008 IP
  2. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #2
    All a cron job does, is schedule other commands to run at specific times.
    Get your command to run successfully from a terminal/commandline first, then setup the cron job to execute the command on a schedule.

    Note that some script interpreters, for instance PHP, have different environment variables available depending on whether the PHP interpreter was started via the commandline or as say an Apache Module.
    This is often the source of many problems when trying to schedule cron jobs for scripts.

    If this is something that's part of "adultwatch", you may get the best answers from their support staff since they're going to know the script better than anyone. :)
     
    joebert, Oct 2, 2008 IP
  3. serialCoder

    serialCoder Guest

    Best Answers:
    0
    #3
    cron jobs does not do these things for you, what it does is run the applications that does the work (like a php file for example)
     
    serialCoder, Oct 2, 2008 IP
Thread Status:
Not open for further replies.