GNU nano 2.9.3 /tmp/crontab.afdNF3/crontab # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command 0 12 * * * /home/sjt/work/date/0605/log.sh为哈就是一直卡在这里
时间: 2024-02-14 14:08:58 浏览: 17
看起来你正在编辑一个 crontab 文件,这个文件中包含了定时任务的配置信息。你想要添加一个定时任务,让 `/home/sjt/work/date/0605/log.sh` 脚本每天中午 12 点执行一次。
根据 crontab 文件的格式,你可以在文件中添加以下一行来实现:
```
0 12 * * * /home/sjt/work/date/0605/log.sh
```
这行中的五个时间字段 `0 12 * * *` 分别表示分钟、小时、月中的天、月份、周中的天。`*` 表示任意值,因此这行的含义就是每天中午 12 点执行一次 `/home/sjt/work/date/0605/log.sh` 脚本。
完成修改后,保存并退出 crontab 文件即可。
相关问题
Failed to run soong bootstrap: fork/exec ./bootstrap.bash: no such file or directory
这个错误通常是因为没有正确设置环境变量或者缺少依赖项导致的。可能需要先检查您的环境变量是否正确设置了。
此外,您可能需要安装一些必要的依赖项,例如 Python、Java、GNU Make 等。您可以尝试运行以下命令来安装这些依赖项:
```
sudo apt-get install python java make
```
如果您仍然遇到问题,请检查您的 Soong 源代码是否完整,并确保您正在正确地构建和编译代码。您可以在 Soong 的官方文档中查找更多的构建和编译信息。
aarch64-buildroot-linux-gnu/10.4.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: (.text+0x20): undefined reference to `main'
这个错误通常意味着你的代码中缺少了 `main` 函数。在 C 或 C++ 程序中,`main` 函数是程序的入口点,如果没有 `main` 函数,链接器就无法将程序链接成可执行文件。
请确保你的代码中有一个 `main` 函数,并且它的函数声明正确。如果你已经定义了 `main` 函数,那么可能是你的编译器没有正确编译或链接代码。你可以尝试清除编译器生成的中间文件,重新编译和链接代码。