vijay reddy
vijay reddy

Reputation: 1

Run a .exe console application using cronjob in linux

i am trying to schedule a console application (.exe) using cronjob . The command i am trying to schedule is

21 18 * * * /home/vijayk/test/loyalty/loyalty_build/ mono AirArabia.exe

but my exe is not getting triggered .

How i can run this file using cron job - any suggestions please...

Upvotes: 0

Views: 727

Answers (1)

The Sleepy Penguin
The Sleepy Penguin

Reputation: 100

The syntax of the mono command is incorrect. It should be:

mono /home/vijayk/test/loyalty/loyalty_build/AirArabia.exe

If it still doesn't work, I would suggest making a shell script to run your program, and make cron call that shell script.

Upvotes: 1

Related Questions