I'm not a huge fan of the cake console stuff, for various reasons. However, you can go to http://blogchuck.com/?p=22 and check out the instructions for setting up a cron job in cake without using curl. One note, however, is that you must have command line access to set this up (and php has to be installed / compiled with the command line interface, which not all shared hosting packages have).
I've currently got this up and running on my systems. To invoke, you just setup a cron job to run php /path/to/cron_dispatcher.php / controller/action/parameters/go/here and it'll execute. On Jun 17, 8:36 am, LBmtb <webmas...@socaltrailriders.org> wrote: > Usually when you setup a cron job, you specify a path on the local > server to run and how often you want it to run. Just curious, where > did you enter the line 'curl -s -o > /dev/nullhttp://www.domain.com/daemons/nicebook? > > Depending on your level of experience, you might want to brush up on > cron jobs in general and cake's > console:http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linu... > (note: didn't actually read the whole thing but seemed > decent)http://book.cakephp.org/view/108/The-CakePHP-Console > > Good luck! > > On Jun 15, 11:16 pm, internetchris <internetchr...@gmail.com> wrote: > > > Hey everyone, > > > Forgive me if I sound like an idiot. I haven't setup a cron job in the > > past and I feel I am either missing files or I simply don't > > understand. For a school project a friend of mine is trying to setup a > > web application(written in cake php). I'm trying to give him a hand, > > but I'm not familiar with cron jobs. After he downloaded it, it had > > instructions to setup a cron job. When I setup the cron job I provide > > this for the path... > > > curl -s -o /dev/nullhttp://www.domain.com/daemons/nicebook > > > I have noticed in the files that there isn't a directory called > > "daemons" and I can't follow this path to anywhere? In setting up a > > cron job I would think that the location in the above URL would > > contain some sort of script file. I have the cron job set to e-mail > > me, but I haven't recieved any e-mails. Am I right in my assumptions, > > or am I misunderstanding something? > > > Any help would be appreciated. > > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---