Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • On the one hand, you say the log shows cron running the script; on the other, you say it isn't running. In the end, we can't tell what's happening because you don't show any logs or what happens at all. Commented Oct 19, 2021 at 21:23
  • Obvious question: the script has execute permission set? Commented Oct 19, 2021 at 21:25
  • See unix.stackexchange.com/tags/cron/info for common cron-related errors. My guess is that promscale isn't in the PATH. Commented Oct 19, 2021 at 21:31
  • Take user as the login id for the user that owns this job. What recent errors are in the mailbox file /var/mail/user? (If it exists it will be readable as a plain text file.) Commented Oct 19, 2021 at 21:48
  • 1
    "I know the script isn't runing because it would start the promscale service, wich it doesn't" that's false logic. All you know is that the service didn't start. You don't know whether or not your cron attempted to start it, because you haven't recorded that the script ran. Commented Oct 19, 2021 at 22:04