Rename crontab to .crontab and activate it in .bash_profile

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2016-09-18 11:11:56 +02:00
parent 9780375c30
commit 53bb4c8c79
6 changed files with 9 additions and 8 deletions

View file

@ -8,6 +8,9 @@ if [[ $- == *i* && -f $HOME/.bashrc ]]; then
. $HOME/.bashrc
fi
# Activate correct crontab file
crontab -u severin $HOME/.crontab
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then
startx && exit