Closed Coernel82 closed 1 year ago
OK - I did some research. I was not familiar that ./
stands with: "execute from the current directory". Sorry about this.
So adding a cron example
# Daily at 01:00 the Carddav contacts get send to the Fritz!Box
0 1 * * * bash /home/ncpadmin/carddav2fb/carddav2fb/run > /home/ncpadmin/logs/fritzlog.log 2>&1
would be helpful though it should be basic knowledge.
Thanks for the complete rework of carddav2fb!
I used to sync the phonebook everynight with the original version of carddav2fb using the cronjob
0 1 * * * /usr/bin/php /home/pi/carddav2fb/carddav2fb.php run -i > /home/pi/fritzlog.log 2>&1
However I am unfamiliar with the
./
- command and yourconfig.example.cron
is not helping me.So what will the right cron-command be? Is it this simple?
0 1 * * * /home/ncpadmin/carddav2fb/./carddav2fb run > /home/ncpadmin/fritzlog.log 2>&1
Probably you could clarify the example file for the cronjob!