I think this is an easy question, but the Big G has given me no results. If I want to create a cron job that refreshes my home page, say once an hour, how do I do that? I thought it would be as easy as creating a cron and identifying my index.php -- but that doesn't seem to do the trick because of page permissions(?). Because it's wordpress, i can't chance perms without irking WP. ugh. I know how to make a cron that does it's thing once per hour, I just don't know how to make a script that updates my index for the cron to go to. Does that make sense? Any help would be uber appreciated! Thanks! Marceia
I have a plugin that will add a post to the page, but the page must be refreshed first. I've had no luck with wp-o-matic (too buggy in WPMU) so I'm using kind of a workaround. It works great, but if I don't have any visitors, then I don't have any posts added. So what I wanted was a cron job that would simulate a visitor coming to my homepage - it sounded easy - is it not?
Use wget for the command, it will hit the page and hopefully that will work. Like this : wget http://somedomain.com
Edit Contab file crontab -e Code (markup): Add a new line 0 * * * * php /root/fileadmin Code (markup): Chmod fileadmin to 777, chgrp/chown to current user. In the fileadmin file, add the PHP code to update the page. Peace,