i am new to cron job . i studied some basics about cron job . i can able to call php using cron tab. By using following command in /etc/crontab
10 * * * *
Many environments do not permit writing to a text file from a php page called from the web. I agree that this is a security risk that one should not take.
I have a webpage save data to a MySQL table via a JQuery call to a php script. In Cron, I schedule another php script to, every so often, check data in MySQL table and execute whatever jobs necessary.