I used crontab in ubuntu, But in lmde (32bit) not work.
this command that run a script in crontab:
Code: Select all
03 03 * * * env DISPLAY=:0 /home/alireza/autop
Code: Select all
00 08 * * * /sbin/shutdown -h now
Thanks.
Code: Select all
03 03 * * * env DISPLAY=:0 /home/alireza/autop
Code: Select all
00 08 * * * /sbin/shutdown -h now
Code: Select all
env DISPLAY=:0
03 03 * * * /home/alireza/autop
I use that in ubuntu , but i don't know why in lmde not work.Habitual wrote:I think it needs to be moved to above the actual cronjob like soand it may be export, not env.Code: Select all
env DISPLAY=:0 03 03 * * * /home/alireza/autop
but I could be wrong. it happens.
I have never seen it inline like that,
Code: Select all
env DISPLAY=:0
03 03 * * * /home/alireza/autop
00 08 * * * /sbin/shutdown -h now
NO, i do not have anacron,lmdeman wrote:Do you have anacron installed?
I could not make cron jobs work until I installed anacron (which is installed by default on Ubuntu)