LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2012, 02:53 PM   #1
hamza101
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
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
 
Old 08-29-2012, 06:09 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
http://www.adminschoice.com/crontab-quick-reference
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron hourly, daily, cron.d jobs don't execute eggsmartha Linux - General 3 09-17-2007 06:37 PM
SUID problem running cron jobs? mitchloft Fedora 4 03-24-2005 12:30 PM
problem with cron jobs umk Linux - Newbie 2 01-25-2005 10:14 AM
cron jobs working2hard Linux - Software 0 07-28-2004 05:31 PM
CRON Jobs scottpioso Linux - Software 63 11-28-2003 06:45 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration