Problem with autorun

Questions and other topics related to UEMS 18.
Post Reply
andres
Posts: 15
Joined: Wed Apr 25, 2018 12:34 pm
Location: Chile

Problem with autorun

Post by andres » Wed Apr 25, 2018 4:59 pm

I get the following message in the mail, any ideas?

To: wrf@debian
Subject: Cron <wrf@debian> /home/wrf/uems/strc/Ubin/uems_autorun-wrapper.csh --rundir /home/wrf/uems/runs/coronel >& /home/wrf/uems/logs/ems_autorun.log 2>&1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/wrf>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=wrf>
Message-Id: <E1fBNh7-0002m8-6V@debian>
Date: Wed, 25 Apr 2018 13:55:01 -0300

/bin/sh: 1: Syntax error: Bad fd number
---
Geophysics Department
University of Concepcion, Chile

andres
Posts: 15
Joined: Wed Apr 25, 2018 12:34 pm
Location: Chile

Re: Problem with autorun

Post by andres » Thu Apr 26, 2018 8:24 pm

[SOLVED]

There was a problem with the syntaxis in crontab

This works
19 17 * * * /home/wrf/uems/strc/Ubin/uems_autorun-wrapper.csh --rundir /home/wrf/uems/runs/coronel > /home/wrf/uems/logs/ems_autorun.log 2>&1 &

Doesn't
19 17 * * * /home/wrf/uems/strc/Ubin/uems_autorun-wrapper.csh --rundir /home/wrf/uems/runs/coronel >& /home/wrf/uems/logs/ems_autorun.log 2>&1

I found the hint here:

https://unix.stackexchange.com/question ... le_rich_qa
---
Geophysics Department
University of Concepcion, Chile

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest