top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to edit my CRONTAB to schedule the running of /fun/fun.sh to run every other day at 2 pm?

+1 vote
376 views
How to edit my CRONTAB to schedule the running of /fun/fun.sh to run every other day at 2 pm?
posted May 20, 2014 by Ritika

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Use crontab -e command and append a line to the schedule

First that comes to mind is this:

00 14 * * 1,3,5 /fun/fun.sh

Suppose you have asked for as this form of schedule will run on Mon/Wed/Fri and then skip two days.

A more proper form will be this one:

00 14 1,3,5,7,9,...,31 * * /fun/fun.sh
answer May 21, 2014 by Nikhil Pandey
Similar Questions
+2 votes

In my linux system I want to start a cronjob but don't want to enter the enter the cronjob using 'crontab -e' rather want to enter without using 'crontab -e' may be via a script.

Any suggestion on how to achieve this?

0 votes

How do I execute certain shell script at a specific intervals in Linux using cron job?
Please provide examples using different time periods.

0 votes

One of our script need run on first Saturday every month. We have following setup on cron job but it run every Saturday.

15 04 1-7 * 6 /xxx/monthlybk.sh

Any one know how to fix it?

...