patrick cooper

Registered
Feb 28, 2018
3
0
1
Perry GA
cPanel Access Level
Root Administrator
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.