I created a data feed and want to export it by using cron job. After creating data feed I used the code below in cron jobs at cPanel:
php /home/usernameexample/public_html/admin.php --dispatch=exim.cron_export --cron_password=xxxxxxxxxx
```<br />
<br />
<br />
But when it operates, it gives errors below (I see at email):<br />
<br />
<br />
```php
<br />
PHP Warning: next() expects parameter 1 to be array, null given in /home/usernameexample/public_html/app/Tygh/Bootstrap.php on line 331<br />
PHP Fatal error: no permissions in Unknown on line 0<br />
Status: 500 Internal Server Error<br />
X-Powered-By: PHP/5.4.29<br />
Last-Modified: Fri, 04 Jul 2014 08:46:01 GMT<br />
Content-Type: text/html; charset=utf-8<br />
Set-Cookie: sid_admin_6d108=dce92e4d70ba61619b723bab3d385c3d_A; expires=Fri, 18-Jul-2014 08:46:01 GMT; path=/; domain=.websitename.com; HttpOnly<br />
Expires: Thu, 19 Nov 1981 08:52:00 GMT<br />
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0<br />
Pragma: no-cache
```<br />
<br />
The setting I use in data feed:<br />
<br />
[color=#333333]Server directory: [/color]/home/usernameexample/public_html/datafeed <br />
[color=#333333]Export by cron to: "Server" selected[/color]<br />
<br />
Do you have any idea why I am getting this?