Solved

crontab script decipher

Posted on 2012-03-12
3
460 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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