Solved

crontab script decipher

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now