Thanks for that reply Dormilich and sorry for responding late.
And yes, I did try the code outside the cron job, it would work.
Checked the whole function by placing a mail function in it. Mailing from the beforeFilter() function apparently worked. Seems there is some other bug in the controller which wont allow the crons to place an autobid.
Still not able to figure this out though.
User Profile
Collapse
-
CakePHP query
Hi all,
I am using CakePHP to develop a bidding site. I have created a controller called 'daemons' and it performs 4 different tasks which I need to run continuously on the server every minute. I have set this up as 4 cron jobs but something is not working right and my crons just fail to work!
Could be a problem with the controller, just not able to place it. My controller code is pasted below:
...Code:<?php
No activity results to display
Show More
Leave a comment: