Solved

crontab script decipher

Posted on 2012-03-12
3
450 Views
Last Modified: 2012-03-17
Hi

can anyone decipher what this cron script does which I found within fcrontab on a ubuntu pc:

@ 1 name_of_shell_script.sh

cheers
GMac
0
Comment
Question by:gerrymac1943
3 Comments
 
LVL 12

Assisted Solution

by:Sharon Seth
Sharon Seth earned 100 total points
ID: 37710303
I think that would execute name_of_shell_script.sh for every 1 minute
0
 
LVL 19

Accepted Solution

by:
simon3270 earned 400 total points
ID: 37711174
Yes, that's correct.  See fcrontab.5 man page for details.

This is a much more "human" cron - it allows you to run scripts "in the middle of the day", to specify ranges of times within which to run scripts, to get sent mail on specific commands, or to specify ranges with days omitted (e.g. days *~3 is every day except Wednesday), or only if the system is quiet.
0
 

Author Closing Comment

by:gerrymac1943
ID: 37732441
genius!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question