Skip to main content

CronJobs - I have towtwo cron jobs in 2 different drupal site but work only one works

I have createcreated 2 cron jobs on my server(ubuntu), but work only onεone works.

*/5 * * * * curl -s http://www.example.com/cron.php?cron_key=TzVesnZuNqR4mkjv_LgBemUV-oYvsfYalyHOfDtL4cc

*/5 * * * * curl -s http://www.example.gr/cron.php?cron_key=OrrbXhtfSEZ2NI7BlHjAPRtMT_ENAKaz68iH86Kl5wI

In my log file at /var/log/syslog getthere is an error stating "Cron could not run because an invalid key was used." but my key is correct. When iI launch manually, runit runs the cron successfully.

I can't understand why happen this. is happening. Is there any solution?

CronJobs - I have tow cron jobs in 2 different drupal site but work only one

I have create 2 cron jobs on my server(ubuntu) but work only onε.

*/5 * * * * curl -s http://www.example.com/cron.php?cron_key=TzVesnZuNqR4mkjv_LgBemUV-oYvsfYalyHOfDtL4cc

*/5 * * * * curl -s http://www.example.gr/cron.php?cron_key=OrrbXhtfSEZ2NI7BlHjAPRtMT_ENAKaz68iH86Kl5wI

In file /var/log/syslog get "Cron could not run because an invalid key was used." but my key is correct. When i launch manually, run cron successfully

I can't understand why happen this. is there any solution?

CronJobs - I have two cron jobs but only one works

I have created 2 cron jobs on my server(ubuntu), but only one works.

*/5 * * * * curl -s http://www.example.com/cron.php?cron_key=TzVesnZuNqR4mkjv_LgBemUV-oYvsfYalyHOfDtL4cc

*/5 * * * * curl -s http://www.example.gr/cron.php?cron_key=OrrbXhtfSEZ2NI7BlHjAPRtMT_ENAKaz68iH86Kl5wI

In my log file at /var/log/syslog there is an error stating "Cron could not run because an invalid key was used." but my key is correct. When I launch manually, it runs the cron successfully.

I can't understand why this is happening. Is there any solution?

Source Link

CronJobs - I have tow cron jobs in 2 different drupal site but work only one

I have create 2 cron jobs on my server(ubuntu) but work only onε.

*/5 * * * * curl -s http://www.example.com/cron.php?cron_key=TzVesnZuNqR4mkjv_LgBemUV-oYvsfYalyHOfDtL4cc

*/5 * * * * curl -s http://www.example.gr/cron.php?cron_key=OrrbXhtfSEZ2NI7BlHjAPRtMT_ENAKaz68iH86Kl5wI

In file /var/log/syslog get "Cron could not run because an invalid key was used." but my key is correct. When i launch manually, run cron successfully

I can't understand why happen this. is there any solution?