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

Reply via email to