notify.sh script file looks like:
notify-send "hi welcome"
my crontab notification for 2 pm:
* 14 * * * home/hacks/notify.sh
This is very basic queston only.But it wont working. should i configure anything?
|
notify.sh script file looks like:
my crontab notification for 2 pm:
This is very basic queston only.But it wont working. should i configure anything? | |||
|
feedback
|
|
Your script is missing a #! line at the start, which is the magic interpreted by the kernel to say which command interpreter is to be used for the script. Make it look like this:
and make sure the script is executable:
Also, since you're asking for this to happen just once a day, is the timezone of the crontab the same as your own timezone? You might find this happening at 2pm GMT. | |||
|
feedback
|
|
4 hypothesis:
| ||||
|
feedback
|
|
Making crontab running is easy only . here i am going to say how to run crontab jobs. It is useful for anyone who is stuck on crontab.
To change executable
Here i run this script for every one minute ... By doing below script, u can write it in a log file to find whether its working write log
send mail
| |||
|
feedback
|
|
You have to open crontab by the following command:
This will run your script once an hour from 8AM-3PM at 10 minutes past the hour every Monday, Wednesday and Friday. | ||||
|
feedback
|
|
Add | |||
|
feedback
|
0 14 * * *– Darren Hall Dec 10 '09 at 9:56