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, 2020 in Linux Administration by akhtar
• 38,180 points
146 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, 2020 by MD
• 95,140 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,110 points
245 views
0 votes
1 answer

How to create Volume Group in Linux?

Hi@akhtar, To create a Volume Group, you need ...READ MORE

answered Jul 8, 2020 in Linux Administration by MD
• 95,140 points
109 views
0 votes
1 answer

How to create Logical Volume from Volume Group in Linux?

Hi@akhtar, You can use lvcreate command to create ...READ MORE

answered Jul 8, 2020 in Linux Administration by MD
• 95,140 points
206 views
0 votes
1 answer

How to create a group in Linux system?

Hi@MD, On Linux, group information is held in the /etc/group file. ...READ MORE

answered Aug 13, 2020 in Linux Administration by akhtar
• 38,180 points
104 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
291 views
+6 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,770 points
4,185 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,890 points
1,000 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, 2020 in Linux Administration by MD
• 95,140 points
131 views
0 votes
1 answer

How to create Physical Volume in Linux?

Hi@akhtar, To create Physical volume in the Linux ...READ MORE

answered Jul 8, 2020 in Linux Administration by MD
• 95,140 points
122 views