Cron Job issues
So I have a Wordpress client that needs an XML feed imported twice daily. I'm using WP All Import and have imported the file multiple times.
The plugin has a section for cron scheduling and I have done that specifically the way it instructs. The email that I get every time the execute script runs says
/bin/bash: URL: No such file or directory
I have no clue what that means or if that even means the script won't run. Anyone have any clues?
-
Hello, It looks like it's attempting to have the cron job run the script directly from a URL. You'd need to modify it to use the path to the PHP script (e.g. /home/username/public_html/path/to/file.name). Thank you. 0 -
I'm using the trigger and execute URLs that the WP All Import plugin is telling me to use. No idea what the deal is. 0 -
Hello, The image you provided shows that it's recommending you to create the cron jobs via cPanel. Can you take a screenshot of the cron jobs you've created in the cPanel interface so we can see how they are configured? Thank you. 0 -
Sure, here is what I have set up. The first one was already there, so I left it. 0 -
Hello, You've only entered the URL as the command. Note the use of "wget" in the command from the example in your earlier image. You'd need to ensure it matches the example. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments