Thanks Darmawan
I was able to run a program using cron.d
There were also folders marked cron.weekly, cron.daily etc
When I made an entry in cron.d and changed the folder to cron.weekly, after typing crontab -e the same file was shown
Is there any difference in syntax for these separate folders?
What are the difference between them?