Jump to content

Spam da cron whmcs+hostgator


Recommended Posts

Oi gente!

Eu to com um problema aqui também que nunca deu antes, nos outros servidores não dá problema nenhum, só dá no dá hostgator.

Alguém aqui usa whmcs em servidor ou revenda da hostgator?

Se sim, como está configurada a cron do whcms?

o meu tá  */5 * * * * /opt/php56/bin/php -q /home/"username"/public_html/whmcs/crons/cron.php,

mas fico o tempo todo recebendo e-mails a cada 5 minutos assim: 

-----------------------------------------------------------------------------------------------------------------------------------------

The cron has run within the last 24 hours.

To force the cron to run all operations immediately, please invoke with the following arguments "all --force".

------------------------------------------------------------------------------------------------------------------------------------------

Se eu separo os dados ( */5 * * * * / opt / php56 /bin / php -q /home/"username"/public_html/whmcs/crons/cron.php ),

ai eu recebo e-mails a cada 5 minutos assim:

------------------------------------------------------------------------------------------------------------------------------------------

/bin/sh: /: is a directory

-----------------------------------------------------------------------------------------------------------------------------------------

Como resolver?

 

Obrigda

Link to comment
Share on other sites

Pode deixar, já descobri ( foi falta de ler mesmo ).

" Você pode fazer o cron enviar um e-mail sempre que executa um comando. Se não desejar que lhe seja enviado um e-mail para um trabalho cron individual pode redirecionar a saída de comandos para /dev/null desta forma: mycommand >/dev/null 2>&1  "

Só é estranho que no meu da ovh não fica mandando e-mails assim a cada 5 min, mas já pode fechar o tópico.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?