Hi,
i am learning cron !!
(local use of cron only , not using ftp and that stuff)
the code given is written for learning cron , there is no specific purpose i want to do !!
i use ubuntu 10.04
i have two questions !!
1)
for my 1st hand on cron i had done following :
my file -> crontab.txt
Code:
MAILTO=myemailadd@yahoo.com
13 21 4 8 3 /bin/sh qwe.sh
then typed
Code:
crontab crontab.txt
where qwe.sh contains->
Code:
#!/bin/sh
mkdir DONE
It worked and created the dir DONE !
then i changed the time in crontab.txt
and ran it again !
this time the dir DONE exists so it should send me a email containing error info
but i am not receiving any email !!
now 2nd prob
2)
i have changed the script qwe.sh to
and ran the crontab.txt (incrementing the time)
but cron is not opening nautilus
i have also tried
Code:
#!/bin/sh
deluge-gtk
this code also not opened deluge