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,240 points
381 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.

Hope it helps!

Enroll with Linux training online and learn in detail about Linux.

Thanks.

answered May 13, 2020 by MD
• 95,420 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 Feb 1, 2019 in Linux Administration by Omkar
• 69,190 points
524 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 9, 2020 in Linux Administration by MD
• 95,420 points
576 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 9, 2020 in Linux Administration by MD
• 95,420 points
624 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 14, 2020 in Linux Administration by akhtar
• 38,240 points
332 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,230 points
643 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 19, 2018 in Career Counselling by eatcodesleeprepeat
• 4,710 points
7,855 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,775 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,420 points
583 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 9, 2020 in Linux Administration by MD
• 95,420 points
2,544 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP