Ask the Community
Ask any professional question and get answers from other specialists.
Hello , when i call the PHP script from browser it's working fine , but when i run it as a cron script its not working . cron script contains FTP commands as ... See More
Hi, Can you share your sample script that you have written and contains ftp commands in it while executing via cron job? That will help us better understand the issue. ... See More
Best way to execute cron script is to create .sh file, set it with crontab -e. Do not forget to.. - Restart cron service - Make sure you have +x permission set for . ... See More
If your script is running perfectly fine from web browser and not working using cron job, that means your cronjob is definitely not correctly setup. You should confirm ... See More
There are a few reasons why your FTP application could be slow or frequently disconnecting. This could be due to your passive settings. You can check this by doing the fo ... See More
Hello Mohammed, If you didn't get the the answer yet try this. It will run your PHP Script from browser * * * * * wget -O- http://www.sitename.ccom/filename.php & ... See More
As Majid has already pointed out that the cron might not be set with proper syntax. The other reason might be user account permission. Please be aware when you run you ... See More
1) Can you connect to the target FTP server from your local machine? 2) Are the ports between your server and the target machine open for FTP communication.3) Try to run ... See More
yes sure this is my script ///------------- $ftp_server = "hidden"; $ftp_user = "hidden"; $ftp_pass = "hidden"; // $date=time()-24*60*60; $d ... See More