Importing to Frappe using Crontab

Hello All
This is my first post to this group. I wish to have many more post. Hope I can also contribute to this group in the future.

I have a problem with using Crontab in Ubuntu. I am trying to setup automatic scheduled imports into frappe doc. This a sample of command i am using.
cd /home/frappe/frappe-bench && bench --site site2.local import-csv --only-insert /home/import/DocTypeName.csv

I am using Ubuntu. I am able to run it manually with no problems. When i check syslog I dont see any errors. Please any help will be appreciated. Am I doing something wrong? Is there a correct and easier way to accomplish this?

Thanks in advance.


Ask such queries at ?

1 Like

Thanks Very Much. Will create new post at