Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

crontab script decipher

Posted on 2012-03-12
3
Medium Priority
?
495 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 400 total points
ID: 37710303
I think that would execute name_of_shell_script.sh for every 1 minute
0
 
LVL 20

Accepted Solution

by:
simon3270 earned 1600 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

926 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