Results 1 to 3 of 3
Hi friends,
I am new for linux. Every Week i am running some commands to test my
server performance. The commands are
mypath>$ant mytarget1
mypath>$psql myscript_for_database
mypath>$ant mytarget2
This is ...
- 03-22-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
Need help to create linux script.Very urgent
Hi friends,
I am new for linux. Every Week i am running some commands to test my
server performance. The commands are
mypath>$ant mytarget1
mypath>$psql myscript_for_database
mypath>$ant mytarget2
This is infinite.I have to stop this command after 3 hours with ctrl+c
mypath>$psql myscript2
mypath>$ant mytarget3
May i know how to write this into scripts which runs every week automatically.
Its very urgent.. please help me
- 03-22-2009 #2
Here's a link to get you started, its bash shell script right:
Advanced Bash-Scripting Guide
Automating Tasks with Cron and Crontab files
...Gerard4143Make mine Arch Linux
- 03-22-2009 #3
Here's a better crontab link:
look at the "Daily Crontab Example" section
SoS Wiki - - CrontabMake mine Arch Linux


Reply With Quote