I am working to set up my forst cron and have encountered a bit of a snag. I edited the job to update a feed in wordpress, and the command saves but never executes. Here is the command line: * * * * * cd/home/user/nfl-superbowl.net/wp-content ; php -q update-feeds.php For a test I wanted it to run every minute, but will change once working. My other question is, is the command line saving to the right file? When prompted to save, it writes to the file: File Name to Write: /tmp/crontab.UMa9H2/crontab Is this right? Any help would be great!
I'm pretty novice at this too but I'd remove the cd command and run cwd() inside the php script. you can specify the path to the php script too, if that's what you're trying to work out. I'm not sure about the save, but it looks like the place where a temp file might go. I'd need to see the code for that.