Learn about Centmin Mod LEMP Stack today
Become a Member

Sysadmin crontab question

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

  1. hitman

    hitman Member

    126
    11
    18
    Jul 18, 2014
    Ratings:
    +15
    Local Time:
    11:15 PM
    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

    55,458
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,841
    Local Time:
    6:15 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 :)