On Mon, Jan 03, 2005 at 12:53:57AM -0500, jess enerio 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

Folks, read the error message:

/bin/sh (this is what's complaining, i.e. the shell)
line 1 (this is the location of the error)
Desktop: command not found  (this is the actual error)

The shell is trying to run a command called "Desktop", but it can't find
such a command.  That's the first non-dot file in the user's home
directory.

Someone else in the thread pointed out the problem, there's an extra "*"
in the crontab.  I just wanted to point out that nobody else actually
read the error message.  If you don't read or understand the error message,
there is little value in trying to fix it.

Michael
-- 
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
--
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