Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu find running cron jobs

pstree -apl `pidof cron`
Comment

how to check running cron jobs in linux command

crontab -l  

#This command list the Cron Jobs
#anonymous@oilivemylife.com [~]# crontab -l
#MAILTO="xyz@mail.com"
#SHELL="/usr/local/cpanel/bin/jailshell"
#1 3 * * * /usr/local/bin/perl /usr/local/checkupdates.pl
#*/15 * * * * tar czf ~/wpbackup/wp_backup_new_`date +%Y_%m_%d`.tgz ~/xyz.com
Comment

ubuntu find running cron jobs

pstree -apl `pidof cron`
Comment

find all cron jobs in linux

#for user in $(getent passwd | cut -f1 -d: ); do echo $user; crontab -u $user -l; done
Comment

find all cron jobs in linux

#for i in $( ls /home ); do echo $i: ; sudo crontab -u $i -l; done
Comment

PREVIOUS NEXT
Code Example
Shell :: create anaconda environment in shell 
Shell :: speedtest linux cli 
Shell :: git stash show 
Shell :: Setfacl 
Shell :: install bpytop 
Shell :: ansible become sudo pawwsord 
Shell :: show seconds ubuntu 
Shell :: android mobile screen share in ubunut 
Shell :: launch ubuntu screenshot utility from terminal 
Shell :: dynamodb local how to delete table 
Shell :: set trustedinstaller as owner 
Shell :: switch wsl 2 to 1 
Shell :: docker for elixir 
Shell :: apt clean cache 
Shell :: git pull remote branch 
Shell :: ubuntu grub repair 
Shell :: postgres install mac 
Shell :: install java 16 ubuntu 
Shell :: linux compress pdf 
Shell :: _csv.Error: line contains NULL byte 
Shell :: linux export path 
Shell :: snap-update-ns failed with code 1 
Shell :: wlan code cmd 
Shell :: git bash anaconda 
Shell :: bash get name of current script 
Shell :: task manager linux 
Shell :: how to ping in cmd 
Shell :: awk if else 
Shell :: valgrind memory leak 
Shell :: git refusing to merge unrelated histories 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =