http://qa.mandrakesoft.com/show_bug.cgi?id=4143





------- Additional Comments From [EMAIL PROTECTED]  2003-21-08 18:44 -------
The $PATH is quit good and I allready use the full path of the commands in all my 
scripts. 
 
The entire script is the following : 
#!/bin/bash 
/bin/date >>/var/log/adminscripts.log 
/bin/echo "Lancement de l'autoupdate" >>/var/log/adminscripts.log 
/usr/sbin/urpmi.update update_source 
/bin/echo "Liste des mises � jour r�cup�r�e" >>/var/log/adminscripts.log 
/usr/sbin/urpmi --update --auto-select --auto 
/bin/echo "Mise � jour effectu�e" >>/var/log/adminscripts.log 
 

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date: 
description: 
Hello,

I've done a script launched every day by cron.

my script makes:
urpmi.update update_source
urpmi --update --auto-select

This script works fine when launched in a console. This script fails in the
following case when launched by cron : when there is something to download, the
urpmi.update fails and the urpmi is never launched.

And I can't redirect the urpmi.update and the urpmi ouput to a file.

Kind regards,

Vincent RIEDWEG.

Reply via email to