New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Tasks crontab on mediatemple

Jon Roobottom September 12, 2014 by Jon Roobottom

Hello, I can't seem to make sense of the tasks. I think I have my crontab setup correctly, but wanted to check I'm not doing anything crazy.

Using Plesk, I've added the following settings:

Screen Shot 2014-09-12 at 11.33.56.PNG

My command reads curl --silent > /dev/null 2>&1

Which seems to fire, however, it now fires every minute?

Screen Shot 2014-09-12 at 11.38.35.PNG

So, here's my slew of questions:

  • Does this setup look correct?
  • Is it going to kill my sever firing every min?
  • I'm guessing I then control the timing of each individual task with a call in define() { something like $this->add(5, 'fetchFlickrGalleries');?
  • Is there anywhere I can dump the output of php bugs that occur in my task? preferably in the admin.
  • Why /tick? shouldn't that be the url of my task?

Sorry, I know some of this is in the docs, but wanted to make sure I wasn't doing anything mental.


Answered by Fred LeBlanc!
>>>>>>> Answered <<<<<<<
2 Replies
1 Follower