cron and at

# vi /etc/crontab
Example of time specification
Create cronjob:
# crontab -e
For other user:
# su – username crontab -e
There are other configuration files in /etc/:
cron.daily, cron.monthly….those contain the scripts for daily bases…
The files are as script. There is no specific time. Can drop script there and will be executed.
The directory /etc/cron.d is like example cron file.
Can put a file into cron.d and it will be executed or use the command cron-e in order to create the file.

at run just one time.
# systemctl status atd -l
# at 14:30
at> logger hello at 2.30 from at
Ctrl+d
check the status:
# atq
Help
# atrm –help
# atrm 1 (job ID)
# atq – check the queue of jobs.
All jobs are into: /var/spool/at/ directory.

To change or not to change…

2015-10-18_11-14-46
Once in a while I’m receiving notifications in order to approve the new therms and conditions of a well known search engine. This in not so bothering to me but what is bothering is the way they do it. Is so tricky and pervert. They don’t say what exactly they changed and they don’t say that they change it 🙂 but they let you know that they change it. So…what is status? Have they changed something? There is an historical with all changes in past 10 years?
And what I like is that they call it a “privacy reminder”. This means that they have done something to my privacy rights but they don’t say what and they just remind me that something is not OK and I should read….

setup ftp server on linux

yum -y install vsftpd
vi /etc/vsftpd/vsftpd.conf

Disallow anonymous:
anonymous_enable=NO
Allow local uses to login by changing the local_enable setting to YES:
local_enable=YES
If you want local user to be able to write to a directory, then change the write_enable setting to YES:
write_enable=YES
Local users will be ‘chroot jailed’ and they will be denied access to any other part of the server; change the chroot_local_user setting to YES:
chroot_local_user=YES

Restart the vsftpd service:
systemctl restart vsftpd
systemctl enable vsftpd
setup firewall in order to allow traffic on port 21:
vi /etc/shorewall/rules
or
vi /etc/sysconfig/iptables
and restart them

https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-on-centos-6–2
http://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-centos-installing-vsftpd
http://www.liquidweb.com/kb/how-to-install-and-configure-vsftpd-on-centos-7/