I used this command to activate cron job for this.
/usr/bin/php -q /home/username/public_html/yourfilename.php
on godaddy server, and its working fine.
More Related Contents:
- Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation
- We need a script to create a backup of all the files, database and email using third party Cpanel details in PHP
- Using crontab to execute script every hour for 24 hours
- have index.html and action.php on same folder(public_html) on cpanel on submiting the form it is showing as requested URL was not found on the server [closed]
- How to create cron job using PHP?
- PHP: running scheduled jobs (cron jobs)
- Execute PHP script in cron job
- How to change public folder to public_html in laravel 5
- Use php to set cron jobs in Windows
- Run a mySQL query as a cron job?
- How to send emails via cron job usng PHP mysql
- Relative path not working in cron PHP script
- Does php execution stop after a user leaves the page?
- Run Cron Job on PHP Script, on localhost in Windows
- Executing a PHP script with a CRON Job [closed]
- Validating Crontab Entries with PHP
- Permission denied with bash.sh to run cron
- How to run a cronjob every X minutes?
- How to set cron job URL for CodeIgniter?
- Using WGET to run a cronjob PHP
- Run a PHP script every second using CLI
- How can I set cron job through PHP script
- Call another PHP script and return control to user before the other script completes
- How to prevent the cron job execution, if it is already running
- How to solve Error 404 when deploying laravel project to Cpanel?
- CRON command to run URL address every 5 minutes
- Can PHP detect if its run from a cron job or from the command line?
- Best way to periodically execute a PHP script?
- Cron Dispatcher CakePHP 2.0
- Bash script to run php script