1

How to run below linux command in Magento 1 under observer/model?

grep -n 'tracker' test.txt 

which can be later used for cron?

  • What exactly, you trying to achieve? – Amit Bera May 5 at 7:29
  • want to read apache log incrementally for some matching pattern then want o/p to send to one mail id. And it'll run by cron. – groy May 5 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.