|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
syntax error: redirection unexpected
I need to run each 10 minutes on FreeBSD6.0 server (php 4.4.0, Apache/1.3.33, screen ) the following script via cron: */10 * * * * path/script > /dev/null > 2>&1
I know that this cron works fine on other Unix and Linux clones OS, but I can not run it on FreeBSD 6.0 and get mail messages: syntax error: redirection unexpected I can run the script itself via telnet by path/script but can not run it via cron that described above. Could somebody explain what is wrong with cron sintax on FreeBSD 6.0 ? Thanks in advance, Roman |
|
#2
|
|||
|
|||
|
one ">" too many. Wouldn't work in other systems either.
Quote:
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > syntax error: redirection unexpected |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|