0

I have created a schedule to run the 'Feed Me' every 1 minute using the plugin 'Schedule', but it doesn't work. I not sure am I using the correct setting or not. I manage to get the latest data if I manually click the 'Run Feed'.

This is my setting for 'Schedule' This is my settings

This is my timer This is my timer

6
  • 1
    Hi @Lee, I take it you've set up the cron job?
    – dmatthams
    Oct 21 '20 at 9:34
  • @dmatthams You mean this step 4 '* * * * * php /path/to/craft schedules/run 1>> /dev/null 2>&1' ? I don't have idea what is the refer to. I keep getting the error 'The system cannot find the path specified'. I'm using windows.
    – Lee
    Oct 22 '20 at 3:25
  • The path is the path to where you installed craft on your server – your host might be able to help with this?
    – dmatthams
    Oct 22 '20 at 8:39
  • I tried to run at my localhost using XAMPP. I think the command line is different? If I run with craft schedules/run, I can see the full list of the job. This line ' 1>> /dev/null 2>&1' doesn't work at Window.
    – Lee
    Oct 22 '20 at 9:39
  • This isn't normally something you'd run on a local environment. You'd set it up on your sever to repeat a task, most web hosts will have guides on how to setup a cron job.
    – dmatthams
    Oct 22 '20 at 9:47
0

Guessing you didn't do step #4 in the readme? https://github.com/panlatent/schedule/blob/master/README.md

  1. Add a record to system crontab:
* * * * * php /path/to/craft schedules/run 1>> /dev/null 2>&1
2
  • What is the /path/to/ ? I'm new to this cron job, not sure what is the path/to refer to. I had tried for a few, but it return 'The system cannot find the path specified'. I'm using a window.
    – Lee
    Oct 22 '20 at 2:42
  • That's the full path to the craft executable at the root of your project.
    – Brad Bell
    Oct 22 '20 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.