hello friends , I just don't know , why in using Crontab it don't execute a code python that contain :
execfile("Backup1.py")
my code is nouveau_fichier2.py :
#!/usr/bin/python
#-*- coding:Utf-8-*-
# -*- coding: cp1252 -*-
import os
print 'helo'
#os.system("sudo chmod 777 /home/ismail/Bureau/Test/20111214")
execfile("Backup1.py")
and my crontab file after "crontab -e" is :
# m h dom mon dow command
02 16 14 12 3 python /home/ismail/Bureau/nouveau_fichier2.py
And if I replace nouveau_fichier2.py par Backup1.py directly it execute it and do the backup , I need your help pythonians please .