Results 1 to 4 of 4

Hybrid View

  1. #1

    Question Cron tab problems

    After pointing the domain to another DNS for a few hours and then point it back, and I found cron tab not working anymore,

    is there anyways I can fix this?

    and is there anything wrong with my command line in crontab?

    Code:
    * * * * * /usr/bin/wget -qO - http://www.mysite.com/cron_menu.php > /dev/null

    it was supposed to execute that line every minute

    help plz

  2. #2
    Join Date
    Jun 2003
    Posts
    976
    if you can reach your site via ip (the one www.mysite.com is pointing to), you could replace the hostname with the ip in your crontab

  3. #3
    oh damn thanks alot it works, i didn't consider DNS might not be changed back for the server itself yet ^^

  4. #4
    Join Date
    Jun 2003
    Posts
    976
    Quote Originally Posted by neoenvision
    i didn't consider DNS might not be changed back for the server itself yet ^^
    it atleast(?) depends on your /etc/hosts and /etc/resolv.conf

Posting Permissions

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