Hello,
I have a Perl program that works fine when I execute it interactively by web.
If I execute it as a "cron job" without any change, I got randomly some errors,
all of this type: "Can't execute statement: MySQL server has gone away".
The program execute select and then delete and insert in a database table.
The table have about 1000 records.
I'm on Cpanel22.
There are some difference of performance between interactive and batch ("cron")
execution? Is that a timeout problem?
I really don't know where I have to investigate, because the execution
of the program directly by browser is absolutely perfect.
Thank for any help,
Maurizio Mascheroni
I have a Perl program that works fine when I execute it interactively by web.
If I execute it as a "cron job" without any change, I got randomly some errors,
all of this type: "Can't execute statement: MySQL server has gone away".
The program execute select and then delete and insert in a database table.
The table have about 1000 records.
I'm on Cpanel22.
There are some difference of performance between interactive and batch ("cron")
execution? Is that a timeout problem?
I really don't know where I have to investigate, because the execution
of the program directly by browser is absolutely perfect.
Thank for any help,
Maurizio Mascheroni
Comment