Message from root script to users?



I have a daily backup script that is by cron each night. If there is a
failure during the backup process I would like to have the script to notify
the user and, if possible, allow the user to choose to cancel or re-try. Is
there a way to launch a message box or a dialog box (using zenity?) on a
user from the script that is running as root?

TIA

-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA

Protect your digital rights: http://www.eff.org
"The 'Analog Holes' they want to stop up are our eyes, ears and mouths."


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Message from root script to users?
    ... failure during the backup process I would like to have the script to ... of the file and generates the Zenity error message. ...
    (Ubuntu)
  • Re: Backup to spare drive (rsync / crontab)
    ... I am following process described here for rsync: ... If this is the complete script, you've forgotten to start the file with the ...
    (freebsd-questions)
  • Re: ERROR: No space left on device /dev/stdout
    ... awk: close failed on file /dev/stdout ... If failure had no penalty success would not be a prize (T. ... my conclusion is that the stdout is indeed a plain file. ... Can you please give an example of a script designed to clean up output ...
    (comp.os.linux.development.system)
  • Re: ActiveX Task - Status = Failure or Success
    ... you must prevent the failure in the first place. ... > then on completion runs a second ActiveX Script to set the first Script ... > but then finds it on the second loop (i.e. reports success), ...
    (microsoft.public.sqlserver.dts)
  • Re: Help with a stragegy for diagnosis
    ... The failure of the openwas detected by the code itself ... script that reads the file. ... arose, the files were not apparently created. ... on normal or test transactions. ...
    (comp.lang.perl.moderated)