Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-15-2012, 10:46 PM   #1
LQ Newbie
Registered: Nov 2012
Location: Bangalore
Distribution: Ubuntu12.04
Posts: 6

Rep: Reputation: Disabled
About CRON

what is cron command?when this cron will be use?
Old 11-16-2012, 12:56 AM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

welcome to LQ. cron is a daemon that is used to automatically run processes at predefined times. There is an insane amount of information on cron on the web. Please try a search engine, and then come back here if you have specific questions.

1 members found this post helpful.
Old 11-23-2012, 04:29 AM   #3
LQ Newbie
Registered: Nov 2012
Location: Bangalore
Distribution: Ubuntu12.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
configure cron job

i am created one cron job for send mail.but i have a problem where when run cron file(.sh) in that time mail will be sent.but i want get every 15 min run cron job how to configure that cron job file.
Old 11-23-2012, 04:32 AM   #4
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,328

Rep: Reputation: 254Reputation: 254Reputation: 254
The possible entries are outlined in:
$ man 5 crontab
How to enter it in:
$ man crontab
Old 11-23-2012, 04:43 AM   #5
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 360
Blog Entries: 3

Rep: Reputation: 48
Download the Slackbasics book

And read the chapter 21.1. Scheduling tasks with cron
Of course you may search with Google. I just like Slackbasics and Slackbook. Good resources to learn Linux.

To do some job every 15 minutes, you have to edit the crontab for a certain user ('crontab -e') and then add there something like:
*/15 * * * * /bin/bash /path/to/
Note that editing crontab is in Vi-style, so you need to know the basic Vi commands.

Last edited by Lexus45; 11-23-2012 at 04:48 AM.


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
Strange Cron directories: /var/spool/cron/cron.GfqqGO Woodsman Slackware 4 05-11-2011 02:37 PM
cron.hourly cron.weekly cron.monthly and 0anacron. Are they necessary? glore2002 Debian 2 09-30-2009 08:57 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 01:57 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 01:50 PM > Forums > Linux Forums > Linux - Networking

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

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