Jump to content

Appending Config.php File to Server CLI


D_Stall

Recommended Posts

I'm using XCloner plugin on Wordpress 2.9.1 to backup files and database, hosted at Godaddy.com

I think Godaddy uses CGI for its CLI as seen below.

When I try to append a config.php file to the cron.php file selected in the CLI, as instructed by XCloner support, the cron job does not complete.

 

I have no problem getting a cron job to complete when selecting the cron.php file for the Wordpress XCloner plugin with default config (without appending a config.php file), but when I try to append the command path with a custom config file as instructed by XCloner support, I get the following error -

Status: 404 Not Found

Content-type: text/html

No input file specified.

 

XCloner support instructed that the custom config file be appended to the cron script by inserting a space after the command path to the cron.php file, followed by the name of the custom config file, as shown below -

"$HOME/html/xyz/wp-content/plugins/xcloner-backup-and-restore/cloner.cron.php LGSdatabase.php"

 

What are other possible ways that I can try to append the config.php file to the cron.php command path?

Link to comment
https://forums.phpfreaks.com/topic/220646-appending-configphp-file-to-server-cli/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.