Jump to content

Cron key


Janyour

Recommended Posts

Posted

hello,

i have a problem with my cron, when i launch the task.php file it tell me key incorrect, i cant add the key in the command line, i got an error.

any way to integrate this key in the task.php file ?

Posted

hello,

i have a problem with my cron, when i launch the task.php file it tell me key incorrect, i cant add the key in the command line, i got an error.

any way to integrate this key in the task.php file ?

​..

What do you have in your crontab ? in Linux " crontab -l " ..

should be something like this :

 

* * * * * /usr/bin/php5 -d memory_limit=-1 -d max_execution_time=0 /var/www/yoursite.com/html/applications/core/interface/task/task.php 6d3dfd9eaa95c1e3833cbae2a301d940 >/dev/null 2>&1

 

 

.

Posted

Excuse me, I'd like to clarify. I should add these lines directly in the terminal?

/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/html/applications/core/interface/task/task.php lasjfa8sf2o3768762jsdfdfg

After enter this command i have 

Cron tasks not enabled.

 

Posted

Excuse me, I'd like to clarify. I should add these lines directly in the terminal?

/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /var/www/html/applications/core/interface/task/task.php lasjfa8sf2o3768762jsdfdfg

 

​.

in your Linux distro it will be something like this : crontab -e  (-e = edit) .. don't forget the * * * * *  (5 stars) = 1 minute interval ..

 

.

Posted

i dont have access to command line, i am using easycron and i can enter only the task.php file with the path.

some thing like that : www.website.com/applications/core/interface/task/task.php

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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