小编jus*_*tme的帖子

What is this editor that gets opened by crontab?

I want to edit crontab. It is supposed to be Vi, but it's not, as you can see:

root@euve252628:~# crontab -e

0

0 * * * * /var/www/vhosts/nevemind-what-webs/httpdocs/megacronstunde.php

?

:wq

?
Run Code Online (Sandbox Code Playgroud)

Yes, it gave me a ?. And why does it give me a zero?

When I type a q and press Enter - it quits. I need to know how to save, because it's not classic Vi.

text-editor cron

41
推荐指数
3
解决办法
1万
查看次数

标签 统计

cron ×1

text-editor ×1