Join the community today
Become a Member

Sysadmin crontab question

Discussion in 'System Administration' started by hitman, Nov 22, 2016.

  1. hitman

    hitman Member

    117
    10
    18
    Jul 18, 2014
    Ratings:
    +14
    Local Time:
    8:09 AM
    i added a cronjob with crontab -e
    and although i tried the command crontab -l
    it appears to be empty
    i have looked in these files and directories in /etc/
    Code:
    anacrontab
    cron.d
    cron.daily
    cron.deny
    cron.hourly
    cron.monthly
    crontab
    cron.weekly
    
    please note that i am sure the cronjob is running because it works properly and it notifies me so it has got to be another noobish thing i cannot sort out

    thank you in advance
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,949
    6,917
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,415
    Local Time:
    4:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    crontab -e should of invoked nano linux text editor so ensure you probably saved and exited nano after adding your cronjob line.

    nano which you can read up more about nano here and here. For vim text editor read here and here.

    Also there's numerous online how to use guides for nano and vim you can search for via google :)