Hi i want to run php script using cron. i need to process all records in a table if i run the php script run daily once it process some records only. why it didnt run until all records reached. can any one tell how long the cron thread runs. i used wget to access the php script. if i use this it use more amount of cpu utilization.
any one tell how to solve this.
You can always run it directly, via /path/to/php /path/to/your/script
To find the path to php, you can either ask your host, or if you have shell access, run whereis php.
As for figuring out how long it runs, use
time /path/to/php /path/to/your/script
i need to run framework file ,if i call through php , some function doesnt call…