Cronjob curl on ubuntu 20.04 not working


I don’t know much about running the cronjobs on hestiacp, I have below curl command to execute/run on hestiacp. Please help me with properly entering the values or giving commands on Ubuntu 20.04 server to which I have full access.

* * * * * curl https://www.DOMAIN.EXT/system/cron > /dev/null 2>&1

Please help me running it correctly on hestiacp knowing that I don’t have any knowledge.

I have tried by entering the following commands with a frequency of every minute but it’s not working

  1. sudo /usr/bin/curl https://DOMAIN.EXT/system/cron > /dev/null 2>&1
  2. /usr/bin/curl https://DOMAIN.EXT/system/cron > /dev/null 2>&1
  1. /usr/bin/curl -s https://DOMAIN.EXT/system/cron > /dev/null 2>&1
  2. /usr/bin/curl -s "https://DOMAIN.EXT/system/cron" > /dev/null 2>&1

That should work fine, well, all of them but sudo… should work fine depending what the url is.

Below output shows how cron is executing the command correctly:

$ grep 'system\/cron' /var/log/syslog
2023-11-12T20:36:01.673910+01:00 hestia-test CRON[2733213]: (test) CMD (/usr/bin/curl -s "https://DOMAIN.EXT/system/cron" > /dev/null 2>&1)

Thanks for your suggestion bro, but still it’s not working, I don’t know what to do?

Do I have to do anything on the server side? maybe any configurations are modifications needed?

What if there is no document or file path like “https://DOMAIN.EXT/system/cron”

What is not working, the execution of the command every minute or what you expect to happen when that command is executed?

I’ve no idea what you mean.