Questions
Find answers to frequently asked development questions. For information about Better Stack products, explore our docs.
Solved: Invalid command ‘SSLEngine
This frequently happens on fresh Apache servers. When Apache starts it reads through the configuration files. When it encounters `SSLEngine` directive, it considers it as unknown. This is caused by the fact that the server’s basic configuration does not have `mod_ssl` module installed or enabled.
Solved: The Input Device Is Not a TTY
If you try to execute a command inside the docker using the Jenkins or jus try to use the -it option in the docker run command, you will get the following error: the input device is not a TTY How t...
How to Include Files outside of Docker’s Build Context?
You may have ended up in a situation where you wanted to include a file from outside of Docker's build context using the ADD command, but the ADD command requires the path to be within the build co...
How To Whitelist an Email Address in Microsoft Outlook
Learn how to whitelist an email address in Outlook via adding to contact book and creating a filter.
How To Whitelist an Email Address in Gmail
Learn how to whitelist an email address in Gmail via adding to contact book and creating a filter.
How to view and read cron logs on Ubuntu, Debian and CentOS?
Cron can generate logs, which are very useful in troubleshooting your cron jobs. In this quick tutorial, we will take a look at cron logs – how to find them and how to read them.
How to verify SSL certificates on the command line?
To validate an SSL certificate you can use one of the following approaches, depending on the type of the certificate.
How to start logging cron job output to syslog on Ubuntu 20.04?
In this quick tutorial, we will take a look at how to redirect output from cron jobs to the main system log.
How to set up a cron job for a specific time and date?
In this quick tutorial, we will take a look at how to set up a cron job to run at a specific time.
How to setup cron job for automatic Let's Encrypt renewal?
Cron is a command-line job scheduler on Unix-like systems. It allows you to run automated tasks in the background and it's especially useful for repetitive jobs.
How to save cron job output to file?
Any cron job can generate output. It may be log or error messages. Regardless of the nature of the output, you may want to save this output to a file. This can be done using the `>` operator.
How to run cron jobs every 5, 10, 15 or 30 minutes?
Every minute cron goes through all the crontabs and looks for the jobs that should be executed. The exact time of the execution can be specified using the cron syntax. Whenever the parameter matches the current date and time cron job is executed.
How to run a cronjob as a specific user?
One of the features of Cron is the ability to run Cron jobs as a specific user. Sometimes you may even want to create a special user with limited privileges just to run Cron jobs. There are two methods how to run cronjob as a specific user.
How to Remove a Docker Image?
To remove one or more specific images, you can use the docker rmi command. How to list all images If you want to list all the images before removing any, you can do they by running the following co...
How to prevent duplicate cron jobs from running?
Sometimes you may find that duplicate cronjobs are running at the same time. This may happen when the cronjob takes longer to complete than its execution interval. Here is a simple way to prevent this from happening ever again.
How To Deal With Persistent Storage (e.g. Databases) In Docker?
The best way to deal with persistent data storage (such as a database) in Docker is to use Docker’s volume API (for docker 1.9.0 or newer) or use data-only containers for older versions of Docker. ...
How to list and view all current cron jobs?
Cron is a command-line job scheduler on Unix-like systems. It allows you to run automated tasks in the background and it's especially useful for repetitive jobs.
How to list all available CA SSL certificates on Ubuntu?
To list all available CA SSL certificates run the following lines of code:
How Do I Get into a Docker Container’s Shell?
If you want to explore containers file system it simply wan to get an access to containers shell, you can use one of the following options Using the docker exec command Docker version 1.3 or newer ...
How to get cron job errors in email with MAILTO?
One of the neat features of Cron is the ability to send emails when an error occurs during the execution of the cronjob. This can be done using the `MAILTO` environmental variable. When executing cronjob, any output is mailed to the owner of the crontab or to the user or email address specified in the `MAILTO` environment variable in the crontab, if such exists.
Make your mark
Join the writer's program
Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.
Write for us
Build on top of Better Stack
Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.
[email protected]or submit a pull request and help us build better products for everyone.
See the full list of amazing projects on github
Thank you to everyone who
Here is to all the fantastic people that are contributing and sharing their amazing projects: Thank you!