Back
Ashish Kumar (Ashfame) 🐲

Ashish Kumar (Ashfame) 🐲

@Ashfame

Decentralization evangelist, Entrepreneur, Life hacker, Backend engineer. Cyberpunk @ Woodpckr.com | Building AirGapped Crypto Vault live on stream
80
Joined September 2017
Load previous page…

Do a twitter search "doing a poll". People who are thinking of running a poll, give them an option to do so.

Like if my products is about websites and different plans about number of websites. I can do something like $X deal for 2 websites (stackable upto 5)

Depends on your running costs to sustain those lifetime deals. Some also offer the option of stacking deals. Like buying multiple times and then redeeming it. That's probably for covering more costs.

Provided, you are ready to scale. It could be a very nice way of getting your hands on some extra cash which you can invest in your business to accelerate growth. I definitely would offer a lifetime package of some sort for my products when they are ready.

@nydrew Unless I am missing something, And.co is all about getting paid and not paying someone?

Just wanna add to what @sjoerdhuininga said. That's absolutely the technique to go about it, provided your use-case can afford abrupt halting of the script and next run can cleanly continue.

I do wanna help you with an edge case you will quickly encounter.

lockfile here is simply a file created anywhere on disk (it could be empty), but let's add timestamp as content to this file. So, if your script fails in between, before it could delete this file at the end of execution, your script will never continue again cuz lockfile exists. Here now you can check the contents, get the timestamp, compare it with current timestamp and see if its more than X minutes (x minutes being the max time it should have taken to run), update the lockfile and just let it run.

hope that made sense.

Home
Search
Messages
Notifications
More