I've put what you suggested into my Cron Manager on my HostGator admin panel but I am receiving an email that says:
TERM environment variable not set. 1 Any ideas? Thank you as always! On Jan 21, 2:53 am, Martin Westin <[email protected]> wrote: > You type (paste) something like this into a terminal window: > > /path/to/cake/console/cake -app /path/to/cake/app > > you then add the name of theshellyou want to run. My cron task is > called "hourly" as in my previous post. > When running this as a cron job (= automatically) I have found the > return from theshellcauses problems so I add " >>/ > dev/null 2>&1 " at the end which swallows any output. > > On your Mac you might not want to run it as a cron. But if you do > there are applications to download that give you a graphical tool to > set cron jobs (or Apple's replacement as the case may be). The actual > "cron" tools are aparently now seen av deprecated by Apple (sigh) but > they are still there. > > /Martin > > On Jan 20, 2:57 pm,KyleDecot<[email protected]> wrote: > > > I'm really confused aboutshelltasks. How would I invoke the task? I > > know that I would use terminal (I'm on a mac) but how would I do this? > > Second, how do you automate this process so that it would run every > > hour? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
