Git Commands

  1. Caching your GitHub Credentials
    • git config –global credential.helper ‘cache –timeout=300’ 
  2. Clean untracked file and directory
    • git clean -fdx
      

Ubuntu Add Cron

“run php file with cron job.

crontab -l     //   Check list of running cron

crontab -e  //     Add new cron

Steps to add cron:-
1) type crontab -e
2) Press insert
3) set cron on editor
4) press escape
5) :wq

Message display like “”Installing new cronjob””.”

*/1 * * * * /usr/bin/curl -k https://url.com