Linux Mint 16 (Petra): Zenity scripts that worked with linux Mint 13 (Maya) don't longer work with Anachron

Bug #1318164 reported by Bastian Noller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
community.linuxmint.com
New
Undecided
Unassigned

Bug Description

Since the upgrade to Linux Mint 16 my backup scripts I put into /etc/cron.daily don't get executed anymore (Anachron). The same script worked perfectly with Mint 13. Chmod has been set to 755 as last time. Script includes Zenity command. Thus it is important to set the display variable. But also this has been done. This is the script:

############################
#! /bin/bash
# use this to backup to internal backup drive
DISPLAY=:0 /usr/bin/zenity --question --title="Backup" --text="Last backup older than 1 day. Start backup now?"
#$? returns result 0 means user press yes, 1 means cancel.
RESULT=$?
if [ $RESULT -eq 0 ]; then
 DISPLAY=:0 rsync -auv --log-file=/home/user/$(date +%Y%m%d)_rsync.log --progress /media/Daten/ /media/Backup | DISPLAY=:0 /usr/bin/zenity --progress --pulsate --auto-close --title="Progress" --auto-kill --text="Backup ongoing..."
#zenity --text-info --title="Progress of your Backup" --width 530
DISPLAY=:0 /usr/bin/zenity --info --title="Backup complete" --text="The backup to the internal hard drive is now complete."
fi
#############################

Thus I put a more simple script into /etc/cron.daily (without GUI) to see if it was executed. Also this script is NOT executed by Anachron:

#############################
#! /bin/bash
Date=`date +"%Y%m%d"`
touch /media/Daten/scripts/anachron_is_running$Date
touch /home/user/anachron_is_running$Date
#############################

I have also tried the following:
run-parts --report /etc/cron.daily
sudo run-parts -v /etc/cron.daily
This works without issues!

I have also tried this: https://bbs.archlinux.org/viewtopic.php?id=128151
without success.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.