<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How to run FA files using cron]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6478</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6478&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to run FA files using cron.]]></description>
		<lastBuildDate>Sat, 17 Sep 2016 15:56:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to run FA files using cron]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26389#p26389</link>
			<description><![CDATA[<p>It&#039;s a security break if you do it like this. But if you are doing it by your own pc or local system.&nbsp; That&#039;s no problem.&nbsp; If you want to do the cron job in it.&nbsp; Each file has a security parameter.&nbsp; Just make one like this. </p><div class="codebox"><pre><code> $page_security =&quot;SA_OPEN&quot;; 

// Here your code can go on. 

?&gt;</code></pre></div><p>You can use this file for corn job.&nbsp; It will grant you the access.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sat, 17 Sep 2016 15:56:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26389#p26389</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to run FA files using cron]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26388#p26388</link>
			<description><![CDATA[<p>If the custom cron php file is in the FA web folder then anyone from outside too can execute it. Why would you want a security vulnerability?</p><p>If you wish to directly interact with the FA&#039;s DB tables, then write your own php file and keep it outside your webroot and include the relevant files like <em>config_db.php, includes/db/connect_db.inc</em> and operate on them directly.</p><p>If you wish to simulate a login and perform the FA&#039;s form based operations then use <a href="http://php.net/manual/en/curl.examples-basic.php">php cURL</a> to achieve it. Teaching PHP is outside the scope of this forum.</p><p>Provide an example of what you wish to achieve and in which version of FA?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 17 Sep 2016 15:10:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26388#p26388</guid>
		</item>
		<item>
			<title><![CDATA[How to run FA files using cron]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26386#p26386</link>
			<description><![CDATA[<p>As we know, To access frontaccounting code files, it is must to login. I want to execute a script automatic using the Cron. I manually tried it but every time it ask for login and after login it hit the script. But in cron, how to login automatically so after which it execute the script. Is there any way to run a FA file without login or remove security permissions in code. Please give me the solution for this&nbsp; asap.</p>]]></description>
			<author><![CDATA[null@example.com (Romil Gupta)]]></author>
			<pubDate>Sat, 17 Sep 2016 06:59:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26386#p26386</guid>
		</item>
	</channel>
</rss>
