2
Answers

Task run on schedule

Chriz L

Chriz L

8y
200
1
Hello,
 
I have to run a task  that creates a report and save it in the db as pdf file.
The task must run every day. 
Should I make it work as a webpage? Is it safe to load the page from scheduler and run the code onLoad?
 
Are there better solutions? 
 
Thank you in advance. 
Answers (2)
0
Crish

Crish

NA 3.7k 76.4k 14y
Detect popup blocker.
<script type="text/JavaScript" language="JavaScript">
 var mine = window.open('','','width=1,height=1,left=0,top=0,scrollbars=no');
 if(mine)
    var popUpsBlocked = false
 else
    var popUpsBlocked = true
 mine.close()
</script>