Command line with cron

how to launch the command line “./cp export” with cron

I guess, that the cron doesn’t know about the php path. Try php /path/to/cockpit/cp export instead, so crontab knows about executing the php interpreter.

If this doesn’t work, maybe you have to cd into your docs root first, so cd /path/to/cockpit && php cp export should work.