How to initiate a trigger from the container even if the application is not initiated


I have an angular container and python server container , I have developed a code which does a trigger for HTTP post request from the application to the server every day at a particular time, but the issue is that when I make these as a container the trigger happens only when I initiate the container, Instead I want the trigger to happen on its own even the application is initiated

You can trigger processes in regular intervals with crontab. You could install crontab in the container or on the host and then just call the process or execute curl to trigger a URL

Hi thanks for the suggestion but whether this can be done without any cronjob ?