Running a cron job at fixed intervals of time

0 votes

I want to execute a cron job after every 15 minutes. I'm using OSX. The problem is it should run at 0th minute but it isn't.

This is what I'm doing:

*/30 * * * *
Jun 20, 2019 in Linux Administration by DragonLord999
• 8,450 points
128 views

1 answer to this question.

0 votes

Just use this instead:

0,30 * * * * yourCommand
answered Jun 20, 2019 by ajs3033
• 7,280 points

Related Questions In Linux Administration

0 votes
1 answer

Dynamic real-time view of the running system in Linux.

Hi@akhtar, The top command is used to show the ...READ MORE

answered Oct 12 in Linux Administration by MD
• 68,280 points
21 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
1,334 views
0 votes
1 answer
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

answered May 16, 2019 in Linux Administration by Upasana
• 8,620 points
121 views
0 votes
1 answer
0 votes
1 answer

Constraints for getting commands executed by cron

I think the problem could be those ...READ MORE

answered Nov 14, 2018 in Linux Administration by nirvana
• 3,120 points
129 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
208 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 4 in Linux Administration by Prakash K. Aithal
811 views
0 votes
1 answer

How to execute a linux command repeatedly after a set time?

To watch the step every say 30 ...READ MORE

answered Jul 26, 2019 in Linux Administration by ajs3033
• 7,280 points
171 views