* SUMMARY: Unable to run vrestore en vdump in crontab
@ 2001-02-20 8:29 Luitzen van Gorkum
0 siblings, 0 replies; only message in thread
From: Luitzen van Gorkum @ 2001-02-20 8:29 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I've got 2 answer allmost in a minute. Thanks to Olle Eriksson and Adrian
Howard!
I've never thought about this but it turns out to be awfully simple: cron
doesn't set your PATH environment as I expected is. Adding /sbin/ to my
vrestore and vdump commands was enough!
Thank you very much! I'm again suprised by the QUICK responses!
Kind regards, Luitzen
-----Original Message-----
From: Luitzen van Gorkum
Sent: dinsdag 20 februari 2001 9:17
To: true 64 mail list
Subject: Unable to run vrestore en vdump in crontab
Hi,
I've got a backupscript wich I want to start from the crontab. Manually the
script works fine in cron the commands vrestore en vdump don't work.
Monitoring the processes I don't even find a process for them...
This is de command as I've been using restoring the file session from the
first saveset on tape:
#!/bin/sh
BUPdev="/dev/rmt0h"
mt -f $BUPdev load
vrestore -f $BUPdev -v -o yes -D /tmp -x session
mt -f $BUPdev offline
exit
The vdump syntax is:
vdump -f $BUPdev -v -0 -N -D /usr
Manually it works fine, Manually detatching works fine but Cron doesn't work
(all user root).
Kind regards,
Luitzen van Gorkum
---
CMG Noord Nederland
Divisie Advanced Technology
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-02-20 8:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-20 8:29 SUMMARY: Unable to run vrestore en vdump in crontab Luitzen van Gorkum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox