I wrote a script that basically checks for the results of a database query on the file-system and copies those files to a Windows machine on the network using Exceed's internal tools, e.g. dosdir, dosmd, u2dos.
Now, the script works perfectly - executed manually. The goal would be to have that script run every night via crontab.
Which brings me to my problem:
dosdir does not seem to have any problem with that, but dosmd has. It gives me the following error:
/opt/local/bin/dosmd: Cannot Open Display
I understand that crond has a different environment as the console I am logging in through but this tool being a command line tool - why does it need a display? I am pretty new to exceed, so I do not know much about it. The main question is: is it possible to execute that command through crond or do I have to settle for the version without creating a new directory (this would mean more work archiving things...)?
Thank you in advance,