Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi,
i have a problem and is needed by next week.
when i need to run a program at the specified time using the crontab, after that the program which will send a messege to the screen using the say command, which will show "Hello"but there is an error when i run it, in the mail it show that
[
[unexpected end of line. this entry has been ignored.]
]my crontab code is like tis
[
45 13 * * * /usr/testest > /usr/test.txt 2>&1
]and my code for [testtest] is
[
#!bin/sh
DISPLAY=localhost:0.0 export DISPLAYsay HELLO
]in the [test.txt] it shows
[
/usr/testtest : say : execute permission denied
]does anyone know how to solve the [execute permission denied] problem?
Thank You for any advices.
thanks

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |