I use the following commandos under the name proces_test:
#! /usr/bin/ksh
setsite maasstad
hcienginestop -p pacs2
sleep 10
hcienginerun -p pacs2
I can run the script (./proces_test)
If I use the commando crontab -e with the line it doesn’t run:
55 * * * * su hci -c /quovadx/qdx5.6/integrator/maasstad/proces_test
The logging gives me the following output:
From hci@cl-test01.mcrz.intra Mon Aug 23 08:55:01 2010
Return-Path:
Received: from cl-test01.mcrz.intra (localhost.localdomain [127.0.0.1])
by cl-test01.mcrz.intra (8.13.8/8.13.8) with ESMTP id o7N6t1dX028977
for ; Mon, 23 Aug 2010 08:55:01 +0200
Received: (from hci@localhost)
by cl-test01.mcrz.intra (8.13.8/8.13.8/Submit) id o7N6t1tg028976;
Mon, 23 Aug 2010 08:55:01 +0200
Date: Mon, 23 Aug 2010 08:55:01 +0200
Message-Id:
From: root@cl-test01.mcrz.intra (Cron Daemon)
To: hci@cl-test01.mcrz.intra
Subject: Cron su hci -c /quovadx/qdx5.6/integrator/maasstad/proces_test
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
standard in must be a tty