Hello there
I want to write a crobjob to restart a specific service periodically
I wrote my command in a .sh file. When i run the .sh file manually it works fine and the service is being restarted but if i add it in cronjob and specifying a time to run that .sh file, the command is not being run .
Is there anyway to read the logs of cronjobs ? do you have any experience on this issue?
Kind regards
I want to write a crobjob to restart a specific service periodically
I wrote my command in a .sh file. When i run the .sh file manually it works fine and the service is being restarted but if i add it in cronjob and specifying a time to run that .sh file, the command is not being run .
Is there anyway to read the logs of cronjobs ? do you have any experience on this issue?
Kind regards