LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   having problem with Cron Jobs (https://www.linuxquestions.org/questions/linux-newbie-8/having-problem-with-cron-jobs-4175424641/)

hamza101 08-29-2012 02:53 PM

having problem with Cron Jobs
 
Im new to lunix i am running centos 6.2 on my server, for past few trying to install cron jobs on it with no success. These are cron that i have to install:
" There needs to be 6 setup to run every minute in order for the site's refresh to function correctly.

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/cron.php>/dev/null 2>&1

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/get_time2cron.php>/dev/null 2>&1

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/get_time3cron.php>/dev/null 2>&1

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/item_page_ajaxcron2.php>/dev/null 2>&1

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/uniquecron.php>/dev/null 2>&1

sleep 10; /usr/bin/wget -O - -q -t 1 http://www.domain.com/autobidder2cron.php>/dev/null 2>&1

You need to setup 3 cronjobs / scheduled tasks of the following command at 10 minutes 30 minutes and 50 minutes every hour.

/sbin/service httpd restart >/dev/null 2>&1 "

I will really helpful if someone could guide me how to install them.

Thanks

chrism01 08-29-2012 06:09 PM

http://www.adminschoice.com/crontab-quick-reference


All times are GMT -5. The time now is 08:32 AM.