Locale not used in scheduled jobs

Bug #1099315 reported by Elbarbudo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
luckybackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

I want to backup my Vidéos directory using LuckyBackup (Note the é )
1- Launch LuckyBackup from my opened session ------> Works fine
2- Schedule the task
AND
3- adding LANG=fr_FR.UTF-8 in the crontab leads to the following results :
     3-1 the task is NOT included and I get the following error :

* task name : Backup-Vidos
* source : /home/patrice/Vidos/
* destination : /media/Multimedia/Vidos/
* This task is NOT included

Note that the é disapeared

BUT
      3-2 Adding
15 1 * * * /home/patrice/Vidéos/backup_Vidéos.sh > /home/patrice/.luckyBackup/logs/crontab-Videos.log
in the crontab
______________________________________________
patrice@internity:~/Vidéos$ more backup_Vidéos.sh

#!/bin/bash

export LANG=fr_FR.UTF-8

rsync -h --progress --stats -r -tgo -p -l -D --update --exclude=**/*tmp*/ /home/
patrice/Vidéos/ /media/Multimedia/Vidéos/
patrice@internity:~/Vidéos$
===========================================
does works.

My conclusion is that the task check of LuckyBackup scheduler does not take in account the LANG parameter

Revision history for this message
Elbarbudo (patricearnal) wrote :

Apport logs

Elbarbudo (patricearnal)
description: updated
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.