Webmin, cron and wordpress question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Pheer
    So Fucking Banned
    • Dec 2002
    • 22083

    #1

    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
    So Fucking Banned
    • Dec 2002
    • 22083

    #2
    you guys dont know either, do you?

    Comment

    • OzMan
      Confirmed User
      • Sep 2003
      • 9162

      #3
      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
      Last edited by OzMan; 10-19-2005, 11:01 PM.

      Comment

      Working...