ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: callin on August 30, 2004, 08:07:10 pm

Title: SSH Cron
Post by: callin on August 30, 2004, 08:07:10 pm
Hello, me again.

I've gotten so far as to access my server with SSH and I put in the suggested line of code

15 0 *** etc. but when I hit enter it tells me that it's a 'bad date'.

Any hints of other lines I can try?  Thanks!

Cheryl
Title: SSH Cron
Post by: DW on August 31, 2004, 02:05:09 am
The code needs to be entered in as a "cron task".  When in ssh, try the command:

crontab -e

This will bring you into a linux text editor, we'll assume "vi", which is somewhat complicated.

If crontab -e does in fact load the text editor (vi) to enter your cron tasks, do the following:

hit INSERT
(to enter vi's insert mode)

type, or copy/paste your cron command

hit ESC

type these 3 characters :wq
(write/quit command)

hit ENTER

If all goes well, it will say "cron updated".  After that, enable the "send dailymail report" option on the Config page of ListMail and wait to see if you receive this message.
Title: Same SSH Cron Problem!!!
Post by: carl1 on August 31, 2004, 07:41:30 am
I am having the same problem.

But I followed your instructions for the "vi" editor (which is the most progress I have made so far) and when I go to paste the code it will not past the "15 1 * * *" section of code??? It always starts at /usr...

I also noticed that when use the crontab -l command it does not show the scheduled crontab???

Also when I go to crontab -e it's not there???

WHat am i doing wrong???????
Title: SSH Cron
Post by: DW on September 13, 2004, 12:15:50 pm
You need to be sure you are using the "write/quit" command of vi with the following keystrokes:

Code: [Select]
<ESC>

:wq

<ENTER>

If all goes well it should say "crontab updated" and you should be able to see your entry in crontab -l

In order to avoid the problem with copying and pasting make sure you are in vi INSERT mode, by hitting INSERT before pasting.