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?