I have set up a cronjob on my server which is supposed to run every minute and store the output in the given file. I have been trying a lot and saw a lot of links but nothing seems to work. Following is the line which I wrote in
* * * * * /root/snmp_codes/snmp/.\/snmpstats.py -f file -g > logfile.log
Can anyone please tell me what mistake I have made?