after.sh is a shell script, not a python script
Copy that script to after.py, and call it from after.sh with python after.py
aaaahhhhhh, sorry about that... my bad...
Works... Thank you very much...
after.sh is a shell script, not a python script
Copy that script to after.py, and call it from after.sh with python after.py
aaaahhhhhh, sorry about that... my bad...
Works... Thank you very much...
We could help you, if we knew your script
#!/usr/bin/python
f = open('/storage/guide_wgp.xml','r')
filedata = f.read()
f.close()
newdata1 = filedata.replace('"ITV"','"XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"')
newdata2 = newdata1.replace('programme','YYYYYYYYYYYYYYYYYYYY')
f = open('/storage/guide_copy.xml','w')
f.write(newdata2)
f.close()
Hello Gabriel!
No, it is a shell script, that you define and that runs after webgrabplus/time_correct/wg2pm
Thank you for your quick reply,
I saw the config with the "after.sh" at the end, have the after.sh in the folder. The after.sh is doing the job started on its own. It has 777 attrib. Still not running... or at least I don't see the result.
The log is only telling me that that the job finished succesfully. Is there another log to see what exactly is happening with after.sh.
Thank you,
Gabriel
Hi All,
quick question about the postprocess "after.sh". Do I need to enable it like mdb? if yes how?
Thank you,
Gabriel