bash - Docker: Cronjob is not working -


I am trying to run a cron job on the Docker Container. I have the container running (Fedora 20). I also installed the cron package in the container and to run the Crown Daemon explicitly. I also checked the cron.deny file, it is empty and the file named cron.allow is not under / etc / directory.

  Whenever I tried to set the cronjob by using cronab -e or trying to use Crontab -l for the list of cron jobs I'm getting the following error Bash- 4.2 # crontab -l You are not allowed to access (crontab) due to the PAM configuration Bash-4.2 # crontab -e due to spam configuration you are not allowed to access (the root) (cronat)   

I have also entered the /etc/pam.d/crond file, on which this The entry is

bash-4.2 # vi /etc/pam.d/crond/ P>

  # # PAM configuration file for the cron daemon # # # No PAM authentication is called No need of the Oathum module, account required pam_access.so the password-authentication session is required in the account pam_loginuid.so session contains password-based certificates in password-including   

Has anyone encountered this problem? If yes, can you please suggest some indicators on this?

Thanks in advance.

A Lax Container is Not a Virtual Machine You will need to explain the Crown Daemon in the foreground, traditionally A Docker Container runs a single process when it launches, for example Apache Damon or SSH Server. Daemon Often you want to run more than one process in a container.

In this example, we are going to use it, in this way we can get you through the process of using the simple Bash script in many ways as the value of your container's CMD instructions. Process management tools, supervisors to manage many processes in our containers. Using supervisor allows us to better control, manage and restart the processes that we want to run. To demonstrate this, we are going to establish and manage an SSH Damon and Apache Damon.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -