edit the start of the astdb.php file to look like this. #! /usr/bin/php -q <?php chdir(dirname(__FILE__)); // CHANGES WORKING DIR TO DIR PHP FILE IS IN // Read AllStar database $url = "https://allstarlink.org/cgi-bin/allmondb.pl"; On Mon, Nov 13, 2017 at 5:30 PM, jimmy keffer <horsezip@earthlink.net> wrote:
on my dial x86 server running 5 3 * * * /var/www/html/allmon2/astdb.php from root's cron wass causing the file astdb.txt to saved in /root not /var/www/html/allmon2 i fixed it by adding 7 3 * * * mv -f /root/astdb.txt/var/www/html/allmon2 too cron has anyone seen this before ? is there a better way to do this thanks jimmy ka3vgm _______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/ cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-- Nathan Hardman nhardman1428@gmail.com N8THN@ARRL.NET