1
Installation / Re: crontab not in correct location
« Last post by Westy_87 on April 02, 2024, 07:13:42 am »Thanks.
When I make a change in the crontab section in the gui, it says
Write /var/nedi/inc/crontab (21 bytes) OK
then it says
Crontab Update Errors
I can see the file is being updated, but then the system command to update the actual cron isn't working I guess. Any idea how to troubleshoot that?
Edit:
I can see in /var/spool/cron/crontabs/ is a file www-data that contains the crontab entries from before the link was somehow broken.
permissions issue or anything?
nedi:~$ sudo ls -l /var/nedi/inc/crontab
-rw-r--r-- 1 www-data www-data 21 Apr 2 05:11 /var/nedi/inc/crontab
nedi:~$ sudo ls -l /var/spool/cron/crontabs/www-data
-rw------- 1 www-data crontab 1569 Jan 18 03:27 /var/spool/cron/crontabs/www-data
When I make a change in the crontab section in the gui, it says
Write /var/nedi/inc/crontab (21 bytes) OK
then it says
Crontab Update Errors
I can see the file is being updated, but then the system command to update the actual cron isn't working I guess. Any idea how to troubleshoot that?
Edit:
I can see in /var/spool/cron/crontabs/ is a file www-data that contains the crontab entries from before the link was somehow broken.
permissions issue or anything?
nedi:~$ sudo ls -l /var/nedi/inc/crontab
-rw-r--r-- 1 www-data www-data 21 Apr 2 05:11 /var/nedi/inc/crontab
nedi:~$ sudo ls -l /var/spool/cron/crontabs/www-data
-rw------- 1 www-data crontab 1569 Jan 18 03:27 /var/spool/cron/crontabs/www-data