Open schemacs opened 9 years ago
crontab entry is as following:
@reboot /usr/local/bin/onedrive-d start >/dev/null
From pi@raspberrypi Sun Jun 28 04:48:58 2015 Return-Path: <pi@raspberrypi> X-Original-To: pi Delivered-To: pi@raspberrypi Received: by raspberrypi (Postfix, from userid 1000) id 66AF940854; Sun, 28 Jun 2015 04:48:58 +0000 (UTC) From: root@raspberrypi (Cron Daemon) To: pi@raspberrypi Subject: Cron <pi@raspberrypi> /usr/local/bin/onedrive-d start >/dev/null Content-Type: text/plain; charset=UTF-8 X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home/pi> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=pi> Message-Id: <20150628044858.66AF940854@raspberrypi> Date: Sun, 28 Jun 2015 04:48:58 +0000 (UTC) [2015-06-28 04:48:58,215] CRITICAL: MainThread: cannot find current logged-in user.
The code in ondriver_d/od_glob.py should also check LOGNAME environment key.
crontab entry is as following:
The code in ondriver_d/od_glob.py should also check LOGNAME environment key.