gpt4 book ai didi

bash - Linux CRON : unexpected EOF while looking for matching `` '

转载 作者:行者123 更新时间:2023-12-02 17:03:09 28 4
gpt4 key购买 nike

<分区>

我在 cron 上运行这个命令:

0 4 1 * *  myfunc `date +%Y-%m`; anotherfunc

在我的邮件文件 /var/spool/mail/myuser 上,我收到这条消息:

From root@myserver.localdomain  Thu Nov  1 04:00:01 2018
Return-Path: <root@myserver.localdomain>
X-Original-To: myuser
Delivered-To: daniele@myserver.localdomain
Received: by myserver.localdomain (Postfix, from userid 500)
id 5F3A081CF9; Thu, 1 Nov 2018 04:00:01 +0100 (CET)
From: root@myserver.localdomain (Cron Daemon)
To: myuser@myserver.localdomain
Subject: Cron <myuser@myserver> myfunc `date +
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/myuser>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=myuser>
X-Cron-Env: <USER=myuser>
Message-Id: <20181101030001.5F3A081CF9@myserver.localdomain>
Date: Thu, 1 Nov 2018 04:00:01 +0100 (CET)

/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file

我做错了什么?

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com