- Joined
- Mar 11, 2008
- Messages
- 1,009 (0.16/day)
- Location
- Hungary / Budapest
System Name | Kincsem |
---|---|
Processor | AMD Ryzen 9 9950X |
Motherboard | ASUS ProArt X870E-CREATOR WIFI |
Cooling | Be Quiet Dark Rock Pro 5 |
Memory | Kingston Fury KF560C32RSK2-96 (2×48GB 6GHz) |
Video Card(s) | Sapphire AMD RX 7900 XT Pulse |
Storage | Samsung 970PRO 500GB + Samsung 980PRO 2TB + FURY Renegade 2TB+ Adata 2TB + WD Ultrastar HC550 16TB |
Display(s) | Acer QHD 27"@144Hz 1ms + UHD 27"@60Hz |
Case | Cooler Master CM 690 III |
Power Supply | Seasonic 1300W 80+ Gold Prime |
Mouse | Logitech G502 Hero |
Keyboard | HyperX Alloy Elite RGB |
Software | Windows 10-64 |
Benchmark Scores | https://valid.x86.fr/9qw7iq https://valid.x86.fr/4d8n02 X570 https://www.techpowerup.com/gpuz/g46uc |
Hello All
I have Ubuntu 24.04.1 x64 installed on my smol rig, functioning as a NAS
Added the following commands to create a report of the HDDs for me each day:
0 5 * * * date +%Y-%m-%d >> /path/storage-state.txt;uptime >> /path/storage-state.txt;df -h|grep home >> /path/storage-state.txt;/path/HDSentinel -solid >> /path/storage-state.txt
The latest addition is the first command with the date, and if I put there, none of the commands are completing,
If I just run this line in terminal with all 4 command, no problem. Each command get executed with no issue.
But in crontab it is simply behaving like it's commented out or something, with:
0 5 * * * uptime >> /path/storage-state.txt;df -h|grep home >> /path/storage-state.txt;/path/HDSentinel -solid >> /path/storage-state.txt
There is no issue, why is date so hard for my linux?
I have Ubuntu 24.04.1 x64 installed on my smol rig, functioning as a NAS
Added the following commands to create a report of the HDDs for me each day:
0 5 * * * date +%Y-%m-%d >> /path/storage-state.txt;uptime >> /path/storage-state.txt;df -h|grep home >> /path/storage-state.txt;/path/HDSentinel -solid >> /path/storage-state.txt
The latest addition is the first command with the date, and if I put there, none of the commands are completing,
If I just run this line in terminal with all 4 command, no problem. Each command get executed with no issue.
But in crontab it is simply behaving like it's commented out or something, with:
0 5 * * * uptime >> /path/storage-state.txt;df -h|grep home >> /path/storage-state.txt;/path/HDSentinel -solid >> /path/storage-state.txt
There is no issue, why is date so hard for my linux?