Current time: 04-26-2024, 02:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
[solucionado] Como configurar el cron
Author Message
kosaco1 Offline
Junior Member
*

Posts: 25
Joined: Jun 2009
Reputation: 0
Post: #1
[solucionado] Como configurar el cron
Hola

Alguien sabe como configurar el cron para el mailer de correo, mas exactamente 'interspire' - ya que los tutoriales hablan de plesk y cpanel - estuve buscando en el panel de control y no veo nada similar

debo hacer esto

Create the cronjob. Login to telnet or your control panel and type crontab -e at the command line. This will let you edit your crontab file. Type this text in:

* * * * * path/to/php –f /home/user1/public_html/iem/admin/cron/cron.php




desde ya muchas gracias
(This post was last modified: 07-30-2010 05:21 AM by kosaco1.)
07-29-2010 08:09 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: Como configurar el cron
****
Son para indicar la periodicidad
path/to/php –f
Para indicar la ruta del ejecutable de php
/home/user1/public_html/iem/admin/cron/cron.php
Ruta del servidor web donde esta el archivo
07-29-2010 05:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kosaco1 Offline
Junior Member
*

Posts: 25
Joined: Jun 2009
Reputation: 0
Post: #3
RE: Como configurar el cron
(07-29-2010 05:44 PM)kurgans Wrote:  ****
Son para indicar la periodicidad
path/to/php –f
Para indicar la ruta del ejecutable de php
/home/user1/public_html/iem/admin/cron/cron.php
Ruta del servidor web donde esta el archivo

Gracias por tu respuesta, pero donde lo escribo???, en el panel no encuentro nada.
07-29-2010 11:57 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Como configurar el cron
Quote:Login to telnet o ssh and type crontab -e at the command line
07-30-2010 01:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kosaco1 Offline
Junior Member
*

Posts: 25
Joined: Jun 2009
Reputation: 0
Post: #5
RE: Como configurar el cron
(07-30-2010 01:28 AM)kurgans Wrote:  
Quote:Login to telnet o ssh and type crontab -e at the command line

Nuevamente gracias por tu siempre rápida respuesta, pero para un tonto como yo, dondeSad? en la terminal rootRolleyes? o en el panel de control?, si es panel de control no se donde tampoco. Por favor me podes dar una explicacion como para un infradotado mental, ademas no se cual es el login de telnet

Gracias
07-30-2010 01:50 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #6
RE: Como configurar el cron
No hay problema, detallarte un poco mas el como y donde no es problema.
Daba por echo que el ver el comando que dice login telnet o ssh te habria aclarado el tema.

El panel de momento no gestiona cron, asi que a la consola como todos

en la consola de root
# crontab -e

Poner la periodicidad / ruta del ejecutable php / ruta de archivo a llamar.php
Quote:* * * * * path/to/php –f /home/user1/public_html/iem/admin/cron/cron.php

Ej. 30 20 * * * /usr/bin/php5 -f /var/www/virtual/dominio.tld/htdocs/ejecuta/cron.php

Todos los dias a las 8:30
(This post was last modified: 07-30-2010 02:44 AM by kurgans.)
07-30-2010 02:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kosaco1 Offline
Junior Member
*

Posts: 25
Joined: Jun 2009
Reputation: 0
Post: #7
RE: Como configurar el cron
(07-30-2010 02:16 AM)kurgans Wrote:  No hay problema, detallarte un poco mas el como y donde no es problema.
Daba por echo que el ver el comando que dice login telnet o ssh te habria aclarado el tema.

El panel de momento no gestiona cron, asi que a la consola como todos

en la consola de root
# crontab -e

Poner la periodicidad / ruta del ejecutable php / ruta de archivo a llamar.php
Quote:* * * * * path/to/php –f /home/user1/public_html/iem/admin/cron/cron.php

Ej. 30 20 * * * /usr/bin/php5 -f /var/www/virtual/dominio.tld/htdocs/ejecuta/cron.php

Todos los dias a las 8:30


Lo hice, paro igual me pone --cron tab not run yet---
pero guarde los cambios y me puso

no crontab for root - using an empty one
crontab: installing new contab
07-30-2010 04:17 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #8
RE: Como configurar el cron
Yo creo que te lo ha creado, puedes verlo si pones de nuevo el comando
crontab -e
y ver si esta la linea que has puesto, reinicia /etc/init.d/cron restart


Puedes ponerlo /etc/cron.d/ispcp
al final del archivo
# Mi cron
30 20 * * * /usr/bin/php5 -f /var/www/virtual/dominio.tld/htdocs/ejecuta/cron.php

Lo guardas y reinicias el cron
07-30-2010 04:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kosaco1 Offline
Junior Member
*

Posts: 25
Joined: Jun 2009
Reputation: 0
Post: #9
RE: Como configurar el cron
(07-30-2010 04:24 AM)kurgans Wrote:  Yo creo que te lo ha creado, puedes verlo si pones de nuevo el comando
crontab -e
y ver si esta la linea que has puesto, reinicia /etc/init.d/cron restart


Puedes ponerlo /etc/cron.d/ispcp
al final del archivo
# Mi cron
30 20 * * * /usr/bin/php5 -f /var/www/virtual/dominio.tld/htdocs/ejecuta/cron.php

Lo guardas y reinicias el cron


Perdoname, pero es la vejez, me olvide de hacer el restart
sos un genio!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
gracias
07-30-2010 05:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)