Results 1 to 5 of 5

Thread: Cron Jobs with Lynx

  1. #1

    Cron Jobs with Lynx

    Lokking for how to setup a cron job every 12 hours with lynx. I want it to access a php script on the server then null the output. if anyone could show me how to do this please explain the logic behind it so I can learn how it works.

    Thanks

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Kennesaw, GA
    Posts
    217
    ok, as the user:

    # crontab -e

    (that opens your crontab for editing)

    then...


    * * * * * lynx http://urlyouwanttocall.com/script.php -O /dev/null

    The first * is minutes, the second is hours, then day, month year.

    Most hourly crons will look something like:

    59 * * * * command

    That will run the cron at 59 minutes every hour.

    You can also do:
    */3 or */2, or */5, etc... to run it every so many minutes.

  3. #3
    so if i do 2 entries staRTING WITH * 1 * * * and
    * 12 * * *

    I could run one once a day at 1 and another once a day at 12??

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Kennesaw, GA
    Posts
    217
    Quote Originally Posted by Wildheart
    so if i do 2 entries staRTING WITH * 1 * * * and
    * 12 * * *

    I could run one once a day at 1 and another once a day at 12??
    It would run at 1am and then noon.

    Cron works in 24 hr time.

  5. #5
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear Wildheart,
    Hello,

    You should take a look at manuals and page info.

    # man 5 crontab
    # pinfo crontab

    FYI, http://www.hmug.org/man/5/crontab.php

    Best Regards.
    Frrkh hmd

Similar Threads

  1. Cron jobs email
    By engrolsonjr in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 05-05-2011, 12:49 AM
  2. Cron Jobs!
    By honey bee in forum Linux - General Topics
    Replies: 5
    Last Post: 05-08-2010, 02:04 AM
  3. Cron Jobs and scripting
    By rajeshwar in forum Redhat / Fedora
    Replies: 2
    Last Post: 09-25-2007, 02:11 PM
  4. JOBS computer jobs +
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 02-01-2005, 02:40 AM
  5. Using Lynx to view LJR
    By Schotty in forum General Chat
    Replies: 10
    Last Post: 06-07-2002, 11:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •