Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

how to run an script every minute

Posted on 2005-02-25
1
Medium Priority
?
507 Views
Last Modified: 2010-04-20
hello experts,
I have an script that I would like to run on my fedora server every 1 minute.
how can I do this?
0
Comment
Question by:Xtry
1 Comment
 
LVL 7

Accepted Solution

by:
surya_prabhakar earned 2000 total points
ID: 13406218
set a crontab for root like this ...

#chmod u+x your-scrip-name.sh
# crontab -e
*/1 * * * * /full-path-to-script/your-script-name.sh  &> /dev/null

save and exit .

surya.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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
Course of the Month15 days, 9 hours left to enroll

581 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