The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Passing the values to the secondary script when it invoked by primary script venu_eie UNIX for Advanced & Expert Users 2 07-03-2008 07:10 AM
Passing the values to the secondary script when it invoked by primary script venu_eie Shell Programming and Scripting 1 07-03-2008 06:16 AM
create a shell script that calls another script and and an awk script magikminox Shell Programming and Scripting 0 06-26-2008 02:50 AM
help me in sending parameters from sqlplus script to unix shell script Hara Shell Programming and Scripting 2 01-29-2008 03:31 PM
Shell Script: want to insert values in database when update script runs ring Shell Programming and Scripting 1 10-25-2007 03:06 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-21-2008
vitchi vitchi is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 19
Programmation of script.

Hi all,

I'm user of Solaris, and i want to create just small script which should be running each 15 minutes, starting from 23h30 till 3h30, inside this script only one commande: df -k.

So please, is there anyone who can help to have or to create such script ???

Thx.
  #2 (permalink)  
Old 07-21-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
insert the command into "crontab". you won't need a script. but what are you try'n to do with that?
  #3 (permalink)  
Old 07-21-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
Cool

step one.
create a script file with your command in it.
step two.
add the script request to cron.

by the way - cron is a program that runs on your unix and schedules and runs jobs (program scripts) at designated times.
  #4 (permalink)  
Old 07-21-2008
vitchi vitchi is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 19
Hi joeyg / DukeNuke2,

thx for your reply, but can you tell me more how crontab it works ???
how shall i script file with my commande ?
IDo you have any hints for crontab ?

Thx in advance.
  #5 (permalink)  
Old 07-21-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
start reading documentation of unix commands!

start with:

Code:
man man
man crontab
  #6 (permalink)  
Old 07-21-2008
vitchi vitchi is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 19
lollll ,
thx but i want hints for cronjob /crontab with some examples !!!!

thx.
  #7 (permalink)  
Old 07-21-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
read the man pages, there are examples there.
Sponsored Links
Closed Thread

Bookmarks

Tags
solaris, unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0