I am using the Sphider plugin to set up a search engine. The plugin is working fine, and is allowing me to manually enter websites to be crawled as it should.
The regular installation of Sphider allows the use of the commandline to index the sites stored in your database.
I want it to run one minute after midnight every Saturday, and I want it to re-index all sites in my database.
I have the following set to run through my site’s cPanel:
1 0 * * 6 php /home/admin/public_html/wp-content/plugins/sphider/admin/spider.php -all
I have it set to email me the status upon completion, and I received:
Status: 302 Moved Temporarily
Set-Cookie: PHPSESSID=08e2bb35d24ef9694fd19dca729a5941; path=/
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Last-Modified: Sat, 19 Sep 2009 05:01:01 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Based on the second to last line (Location), it looks like it’s attempting to log-in to the WordPress admin section prior to running the cron job.
Anyone know how to allow it to log-in?
- The topic ‘Using a Cron Job With a Plugin’ is closed to new replies.