Tag Info

New answers tagged

0

This is a HUGE security risk, but wget www.website.com cronjob.txt crontab -u username cronjob.txt But your crontab looks wrong. Why do you need to sudo, cron jobs run as the user they are installed for. So you would be better to just put the lines in asterisk's crontab. sudo crontab -u asterisk then add 0 3 * * * ...


0

wget -O - www.website.com/cronjob.gz|zcat|sudo tee -a /etc/crontab or crontab -l | cat - <(wget -O - www.website.com/cronjob.gz|zcat)| crontab - The disadvantage of these commands is that they do not check to verify that the commands do not exist. You are better off using crontab.d or cron.d directories if they exist and creating a file in them with ...


2

This error happens because you have some YUM repository configuration in /etc/yum.repos.d/ that lists a GPG key like this: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias This configuration is telling YUM that the GPG key for the repository exists on disk. The error you get from YUM is YUM letting you know that it couldn't find the GPG key at the path ...


0

This worked for me: Go to /etc/pki/rpm-gpg directory and download the RPM-GPG-KEY-puias from http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias : su - root cd /etc/pki/rpm-gpg wget http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias By the way, I appreciate if someone explains the issue more.


0

The error was in baseurl: is not: baseurl=file://var/pub/rpms but baseurl=file:/var/pub/rpms Then it worked fine.



Top 50 recent answers are included