![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Posts: 20,893
|
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Posts: 20,893
|
you guys dont know either, do you?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Sep 2003
Location: Los Begas
Posts: 9,162
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |