GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Webmin, cron and wordpress question (https://gfy.com/showthread.php?t=530129)

Mr Pheer 10-19-2005 09:30 PM

Webmin, cron and wordpress question
 
Can someone please tell me how to run a command to autoblog my wordpress script in cron, using webmin? the file is called update-feeds.php

Mr Pheer 10-19-2005 11:21 PM

you guys dont know either, do you?

OzMan 10-19-2005 11:58 PM

I am not familiar with webmin, so not sure what kind of interface you have if any. I assume you know how to do the time part and are just looking for the actual command. So this is what I use in cpanel, hopefully it's the same.

There are several options depending on your particular server and the path to php. Try each until you get one that works. Set it for one minute so you can check results.

This is the one that works for me
php -q /home/username/public_html/autopost/update-feeds.php

others are:

/usr/local/bin/php /home/www/website.com/autopost/update-feeds.php

GET http://www.website.com/autopost/update-feeds.php > /dev/null

php www/website.com/autopost/update-feeds.php

cd /home/www/website.com/post ; /usr/local/bin/php /home/www/website.com/update-feeds.php

or as a last resort you can always use a desktop cron tool like EzCron


All times are GMT -7. The time now is 10:26 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123