The job works if set like this:
*/1 * * * * /usr/bin/php /home/test/cron/test.php
And if set to something like:
15 20 * * * /usr/bin/php /home/test/cron/test.php
it's not working.
[root@localhost mail]# uname -or 2.6.18-308.el5 GNU/Linux [root@localhost mail]# cat /etc/*elease #CentOS release 5.8 (Final) redhat-4
I don't know if this going to help but when I do this:
[root@localhost mail]# date Wed Aug 5 20:54:02 KST 2015
and when an email comes the date is displayed like so:
Wed Aug 5 06:51:01 2015
which is actually one hour behind the time.
The date was showing up
EDT instead of
KST, so I changed
etc/profile but the cron job still wouldn't work.