Skip to content

Instantly share code, notes, and snippets.

@ehsanhoushmand
Last active June 2, 2018 05:35
Show Gist options
  • Save ehsanhoushmand/329c657d307c72786b08f97d0c898c92 to your computer and use it in GitHub Desktop.
Save ehsanhoushmand/329c657d307c72786b08f97d0c898c92 to your computer and use it in GitHub Desktop.
Fanap payment kerio login script
curl --request POST 'http://10.21.30.1:8002/index.php?zone=developmetzonecp&redirurl=http%3A%2F%2Flogin.etick.ir%3A8002%2F' --data "accept=Continue&auth_pass=ehsan&auth_user=ehsan&redirurl=http://10.21.30.1:8002/index.php?zone=developmetzonecp&zone=developmetzonecp" --verbose
@ehsanhoushmand
Copy link
Author

replace auth_user and auth_pass with your username and password

@ehsanhoushmand
Copy link
Author

ehsanhoushmand commented Mar 12, 2018

crontab -e
select editor and paste "*/10 * * * * /etc/cron.hourly/fanap_login.sh"
this command run fanap_login.sh script every 10 minutes.
ps: get the execute permission to the script file
sudo chmod +x /etc/cron.hourly/fanap_login.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment