The UNIX and Linux Forums  


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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-12-2008
naree naree is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 81
I want to know how we can give alias entry in cron

Hi all

I have created an alias for a running a script called script.sh as

alias utils="sh ~/script.sh".

Moreover i m using bash shell, even i have given the entry for alias in .profile in my home directory.I have given alias entry in crontab file as

30 12 * * * utils

But it is not working . Can any one help me in this regard.

Thank U
Naree.