Setting up a cron job for automated emails
I am a little confused as to how to properly set up a cronjob. Being on godaddy hosting service, their cron manager looks like this.
I also created six cron jobs as outlined in this thread in order to achieve 5 minutes intervals.
http://forum.sendy.co/discussion/177/run-cron-job-every-5-minutes-on-godaddy-shared-server/p1
I used this website http://www.thepcmanwebsite.com/crontab_generator.shtml to create a .txt file that I can upload to the server which contained
"5 * * * * php /var/chroot/home/content/05/10904605/html/sendy/scheduled.php /dev/null 2&1"
I pointed each cron job to the same .txt file for each job as shown in the image. But I am receiving email notifications that permission was denied; more specifically it states:
/bin/sh: /var/chroot/home/content/05/10904605/html/sendy/crontab.txt: Permission denied
Am I doing this incorrectly? All help is appreciated.
Comments
Hi Roberto,
It'd be best if you contact GoDaddy support on how to setup a cron job with their interface as they will be in the best position to help you answer this question.
Thanks.
Ben