Cron backup

Discussion in 'Customization & add-ons' started by erikcw, Aug 1, 2006.

  1. erikcw

    erikcw New Member

    Joined:
    Nov 15, 2004
    Messages:
    54
    Last month something changed on our server an lynx stopped working properly. We are now processing the php file directly using the command /usr/bin/php /home/path/to/amember/cron.php

    It seem to be working fine.

    However, it would be nice to have a bockup of some sort. Is there a way to run the "internal cron" and external cron" so that if the cronjob fails the file will still run from page loads?

    Thanks!
    Erik
  2. alex

    alex Well-Known Member Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Erik,
    why would cronjob fail if it is correctly configured?

    However, there are third-party websites that offer "cron" functionality and will automatically access a configured URL in configured time. Search in Google by word "cron".
  3. erikcw

    erikcw New Member

    Joined:
    Nov 15, 2004
    Messages:
    54
    For example, out of the blue last month cron started with this error:
    We didn't figure this out for 3 weeks. It really caused a big mess! So we've changed our cron to php /path/to/amember/cron.php instead of using lynx.

    You wouldn't happen to know what causes that lynx error would you?

    Thanks!
    Erik
  4. alex

    alex Well-Known Member Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021

Share This Page