I have php script which calls another script with php exec function. The called script does batch process job, that is updating transaction statuses, notifies customers(puts emails to mail queue which runs separately). So it will take 20-30 minutes due to a very large table(500000 rows), Now i am running it under my desktop windows machine and php uses up to 50% CPU, mysql 20% CPU. Is it normal practice ? What if i put this script in a shared hosting ? Will i have trouble with that ? It will not break the shared hosting rules ? The batch process can be started by a user anytime(normally one a month or can be more frequently).
Any suggest on this ?
Thanks for reading.