Author Topic: CRONJOB  (Read 1808 times)

online82

  • Posts: 15
    • View Profile
CRONJOB
« on: March 21, 2006, 05:10:45 pm »
I just installed ListMail and set up the cron job...
How do I test if the cron job works?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
CRONJOB
« Reply #1 on: March 21, 2006, 06:58:09 pm »
Greetings,

You can either wait until the job executes or temporarily schedule the job to run every minute (Timing: * * * * *).  If it's running correctly, and the dailymail report is enabled, you should receive the dailymail report when it executes.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

online82

  • Posts: 15
    • View Profile
DAILYMAIL
« Reply #2 on: March 26, 2006, 10:35:01 am »
I scheduled a couple of tasks, and was waiting for the email,
but it didn't come through.  

I manually ran daily mail and it ran my task, and then
it sent me the email.

Do I have the daily task run the task manually?
I did the cron job already...

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
CRONJOB
« Reply #3 on: March 26, 2006, 07:51:16 pm »
The task should execute and send you a report automatically without the need to run it manually.

It's possible that your host does not support the "/usr/bin/wget" system program used by the task.

An alternative commandline, using another common system utility, curl, might be:
Code: [Select]
curl -o /dev/null http://example.com/mail/dailymail.php?pw=mypass 1> /dev/null 2> /dev/null
Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting