Jobs not starting, nothing happens. Nothing in the .sh that requires elevated privileges and the only thing that I can see that may be a problem ( ?? ) is root owning the .sh dunno.
Can someone with a bit more experience please cast their eyes over this and confirm its either my mistake or a problem with 19.
Thanks guys.
EDIT:... The script works fine when I run it btw.
Code: Select all
mintman@mintman-To-be-filled-by-O-E-M:~$ inxi -b
System: Host: mintman-To-be-filled-by-O-E-M Kernel: 4.15.0-23-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.4 Distro: Linux Mint 19 Tara
Machine: Device: desktop System: Gigabyte product: N/A serial: N/A
Mobo: Gigabyte model: G1.SNIPER B7-CF v: x.x serial: N/A
UEFI: American Megatrends v: F4 date: 11/02/2015
CPU: Dual core Intel Core i3-6100 (-MT-MCP-) speed/max: 800/3700 MHz
Graphics: Card: NVIDIA GP106 [GeForce GTX 1060 6GB]
Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 version: 4.6.0 NVIDIA 390.48
Network: Card-1: Intel Ethernet Connection (2) I219-V driver: e1000e
Card-2: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) driver: ath9k
Drives: HDD Total Size: 6129.3GB (59.8% used)
Info: Processes: 232 Uptime: 4 min Memory: 1458.0/7929.5MB Client: Shell (bash) inxi: 2.3.56
mintman@mintman-To-be-filled-by-O-E-M:~$ crontab -u mintman -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
5,30 10,20 * * 1,3 bash ~/Bin/backups.sh
mintman@mintman-To-be-filled-by-O-E-M:~$ tail -n1 .bashrc
PATH="$PATH:$HOME/Bin"
mintman@mintman-To-be-filled-by-O-E-M:~$ ll ./Bin/
total 32
drwxrwxr-x 3 mintman mintman 4096 Jun 12 22:48 ./
drwx------ 32 mintman mintman 12288 Jun 14 11:20 ../
drwxrwxr-x 2 mintman mintman 4096 Jun 12 23:10 'Backup Logs'/
-rwxr-xr-x 1 root root 254 Jun 12 22:19 backups.sh*
mintman@mintman-To-be-filled-by-O-E-M:~$