How to exit of the editing of a cron when using PuTTY software?

Hello,

I want to run a bash script in background process with a cron.

First of all, I have opened PuTTY software without creating one new directory and one new file.

After, I have written the 'crontab -e' command in the current directory and my cron as: ***** /mnt/sda1/Log.py

The last line said: I /etc/crontabs.13745 [Modified] 1/1 100%

Then, I can't exit anymore in this editing.

Do you have some ideas?

Default editor of crontab is vi:

To quit the vi editor:

  • If you are currently in insert or append mode, press Esc .
  • Press : (colon). The cursor should reappear at the lower left corner of the screen beside a colon prompt.
  • Enter the following: q! (save the change :wq)

Start crontab with editor of nano:

env EDITOR=nano crontab -e

I have written env EDITOR=nano. Then, the ' crontab -e ' command.

Why does the last line display " '*' is not implemented " instead of ' - /etc/crontabs.4649 [Modified] 1/1 100% when I begin to type * in the first line?

start over, erase every thing.

Thanks to the 'Scheduled Tasks' in Adminnistration page, I succeded in doing what I wanted.

I have just written: * * * * * my command and Press 'Submit'.

Thank you