this is a short related what clients are asking and how it is translated in company.
cron and at
# vi /etc/crontab
Example of time specification
# 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
check the status:
# 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…
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
Allow local uses to login by changing the local_enable setting to YES:
If you want local user to be able to write to a directory, then change the write_enable setting to 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:
Restart the vsftpd service:
systemctl restart vsftpd
systemctl enable vsftpd
setup firewall in order to allow traffic on port 21:
and restart them