How to create one crontab job in Linux?

0 votes

Hi Guys,

I want to create one crontab job that will run continuously. But how can I configure crontab in my Linux system?

May 13 in Linux Administration by akhtar
• 11,270 points
58 views

1 answer to this question.

0 votes

Hi@akhtar,

To configure crontab in your system, you have to install crontab software on your system. You can use the below given command.

$ yum install /usr/bin/crortab

Now you can edit the file using crontab -e command and write down your program name you wants to run and save the file.

* * * * * date

Now this will run date command in every one minute. You can also write your program name accordingly.

answered May 13 by MD
• 24,500 points

Related Questions In Linux Administration

0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,060 points
119 views
–1 vote
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3, 2019 in Linux Administration by Omkar
• 69,060 points
258 views
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

answered Mar 1, 2019 in Linux Administration by ajs3033
• 7,280 points
71 views
0 votes
1 answer

How to find path of software installed in Linux?

There are multiple ways to find the ...READ MORE

answered May 19, 2019 in Linux Administration by Rishi
818 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
144 views
+5 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 18, 2018 in Career Counselling by eatcodesleeprepeat
• 4,750 points
1,451 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,850 points
429 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

answered Apr 7 in Linux Administration by MD
• 24,500 points
36 views
0 votes
1 answer

How to install httpd web server in Linux?

Hi@akhtar, To install httpd web server in CentOS/RHEL ...READ MORE

answered Apr 21 in Linux Administration by MD
• 24,500 points
22 views