Results 1 to 4 of 4
Srry, my english is not so good, thats why the title was so poor....
I have a file on a linux server (Debian without desktop enviorement), and this file i ...
- 02-27-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 42
Script that executes every minute?
Srry, my english is not so good, thats why the title was so poor....
I have a file on a linux server (Debian without desktop enviorement), and this file i want to send to an ftp server every minute. How can i create a script that does that?
Please help me
- 02-27-2007 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You can use cron to accomplish that task. If you want it to run every minute without exception you can use all * as the time.
Code:* * * * * /path/to/script
- 02-27-2007 #3Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
probably a less correct way:
Code:#!/bin/bash while [ 1 = 1 ] do sleep 60 #insert script here... done
--Erik
- 02-28-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 42
Originally Posted by bigtomrodney
Working just fine
Thank u so much!


Reply With Quote
