Hi Anuerin, 

but isn't it the correct shebang?
#!/bin/bash
The reason why I remembered is that it looked like a comment... I
don't know the effect of reversing them though..

Mhac


On Mon, 3 Jan 2005 15:40:08 +0800, Anuerin Diaz <[EMAIL PROTECTED]> wrote:
> i think you interchanged the shebang symbols. try reversing them. "!#"
> 
> ciao!
> 
> 
> On Mon, 03 Jan 2005 02:33:56 -0500, jess enerio <[EMAIL PROTECTED]> wrote:
> > the script itself is in full path.
> > 0 6 * * * * /usr/local/sbin/update.sh
> >
> > and the script only contains:
> > #!/bin/bash
> > #
> > /usr/sbin/up2date --nox -uv | mail -s "RHEL 3.0 up2date" [EMAIL PROTECTED]
> >
> >
> > ----- Original Message -----
> > From: "Ryan Escarez" <[EMAIL PROTECTED]>
> > To: "Philippine Linux Users Group Mailing List" <[email protected]>
> > Subject: Re: [plug] Running scripts on RHEL AS 3
> > Date: Mon, 3 Jan 2005 15:22:13 +0800
> >
> > >
> > > On Mon, 03 Jan 2005 00:53:57 -0500, jess enerio <[EMAIL PROTECTED]> wrote:
> > > > Hi guys, has anyone here run a script via cron (crontab -e) on RHEL 3?
> > > >
> > > > Basically the script is just for updating. The script is working
> > > > fine on FC's. It has the "shabang heading"  (#!/bin/bash) & has a
> > > > chmod 755 and I'm running at as root.
> > > >
> > > > No error on running it manually. But running via cron gets this
> > > > error message via email:
> > > >  /bin/sh: line 1: Desktop: command not found
> > > >
> > > > Patulong naman po.
> > > >
> > > > jessjr
> > > > --
> > >
> > >
> > > have you tried inserting a change directory command in your script
> > > pointing to the script you specify in the cron?
> > >
> > >
> > > --
> > > Ryan Escarez
> > > F634 0A52 76E6 89F9 B9FD  D728 278F EA37 E547 025E
> > > DOS: n., A small annoying boot virus that causes random spontaneous
> > > system crashes, usually just before saving a massive project. Easily
> > > cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS. (from David Vicker's
> > > .plan)
> > > --
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > [email protected] (#PLUG @ irc.free.net.ph)
> > > Official Website: http://plug.linux.org.ph
> > > Searchable Archives: http://marc.free.net.ph
> > > .
> > > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> > > .
> > > Are you a Linux newbie? To join the newbie list, go to
> > > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
> >
> > --
> > _______________________________________________
> > Find what you are looking for with the Lycos Yellow Pages
> > http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> >
> > --
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Official Website: http://plug.linux.org.ph
> > Searchable Archives: http://marc.free.net.ph
> > .
> > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> > .
> > Are you a Linux newbie? To join the newbie list, go to
> > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
> >
> 
> --
> 
> "Programming, an artform that fights back"
> 
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrakeusers.org/index.php
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
> 


-- 
Mozilla Firefox 1 - getfirefox.com
Mozilla Thunderbird 1 - mozilla.org
OpenOffice.org 1
=============
I'm an Open Source Enthusiast. c",)
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to