Submitted by mike8 on Fri, 06/10/2011 - 14:57
I'm trying to set up a Cron Job for my site. To run a Site map generator, the site map generator says to do the Following.
Log into your server via SSH
Type "crontab -e" (without quotes)
Add to the bottom of the file, the following line:
0 * * * * /usr/bin/php /home/master/public_html/admin/applications_addon/ips/ipseo/sources/cron.php
Save the file and close the command-line text editor.
I tried to run the Command "crontab -e" after logging in to SSH, but I could not figure out how to bring up the editor. I tried to use "Webmin" Scheduled Cron Jobs, and enter the line there, but it would not work. The paths are all correct, so how do I get this to work right?
Michael
Status:
Closed (works as designed)
Comments
Submitted by JamieCameron on Fri, 06/10/2011 - 15:05 Comment #1
What I would recommend is going to Webmin -> System -> Scheduled Cron Jobs, and creating a new job.
Set the user to the domain owner, the minutes to 0, all other times to "All", and the command to :
/usr/bin/php /home/master/public_html/admin/applications_addon/ips/ipseo/sources/cron.php
Does that work?
Submitted by mike8 on Fri, 06/10/2011 - 16:58 Comment #2
Hi Jamie, well that's the way I had it, and it does run, but it ends up putting all the sitemap.gz files in to the Cache folder, instead of the DocumentRoot.
So it looks the the Cron Job is working OK. it must be the Sitemap Generator that has the problem. I know a lot of people were complaining about it. I just had to prove it wasn't WebMin not being setup right.
Thank you Jamie
Regards Michael
Submitted by JamieCameron on Fri, 06/10/2011 - 17:43 Comment #3